|
-
May 20th, 2002, 10:40 AM
#1
Thread Starter
New Member
Asynchronous PopupMenu
I am trying to select an item in a popup menu through code. I can't get the window handle of the popup menu using using the normal PopUpMenu function in the mouseup event because it will not run my code that uses WindowFromPoint to get the handle since the popupmenu is synchronous. What I am eventually trying to do is find the messages that get sent to the popup menu when the mouse rolls over it and the click event fires for a selection. If I can get the window to stay up I can capture the window messages and emulate them, but I need to return control to my code after the popup menu comes up, but have it stay up so I can get the handle and pass it to my MessageIntercept function.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|