You can add in-place completion to your application as described in this section.
CAPI User Guide (Macintosh version) - 30 Aug 2011