Click to See Complete Forum and Search --> : How do I simulate a mouse click.


rjm12
May 17th, 1999, 09:13 AM
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

Wes Rogers
May 17th, 1999, 02:39 PM
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