You can also implement in-place completion on arbitrary CAPI panes by calling prompt-with-list-non-focus .
prompt-with-list-non-focus
CAPI User Guide (Windows version) - 30 Aug 2011