Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Thank you so much. I believe I can manage to make it work now Commented Mar 5, 2015 at 19:16
  • By the way, how did you knew the list is child of the of the desktop window. How can I learn more about it? This kind of knowledge only comes with practice? May I read about it somewhere? Commented Mar 5, 2015 at 19:24
  • 1
    @epro - I guess the most you can find documented is that the listbox control is some 'ComboLBox'. Other than that you may find pieces here and there. What I do to quickly examine volatile popups like this (menu, etc..) is to construct an owner-drawn one and put a breakpoint in drawing code. Then you can freeze the window and try spy++ on it. It's kind of delicate though, when I also include message processing, this setup sometimes manages to freeze the entire box. Otherwise, if you can subclass the window then you can do whatever you want.. You're welcome! Commented Mar 5, 2015 at 20:30