How do I simulate a mouse click.
Hi All,
I am cleating a floating popup menu. The problem is after I select the menu item and the action occurs.
The next time I click on something like a list box, button or other window, nothing happens. I have to click
twice before the action take place. I am using VC++ 6.0.
Any ideas?
rjm12
Re: How do I simulate a mouse click.
It may be that the first mouse click (off the popup menu) is just setting the focus to the window you are clicking on; the next mouse click actually then performs the action.
Maybe what you need to do is, in your popup menu, set the window focus back to its parent window after it performs an action.
Yours,
Wes Rogers