Hi Folks, I am planning to show a dialog (which will act as a drop down list) on any text editor where the user presses a key combination. I would like to know how I can make the dialog work as if it is part of the application on which it is invoked. I need to achieve the following things. 1. I want to close dialog when the main application shuts down. 2. I don’t want to take the focus away from the editor when the dialog is active. 3. I want to get the focus on the dialog only when user presses arrow buttons. 4. I want to insert the text selected from the dialog onto the editor The dialog will help the user to auto complete words. I have done the hooking part. Please advice. Thanks in advance, John.