View Single Post

  #8 (permalink)  
Old 05-25-2005
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

Hmm of course, in BeforeClick it is not yet clicked so not yet selected. I have no idea's right now. If I come up with something I will reply again here, maybe some others have some inspiration ?

Yes sometimes you will see the mappoint menu for a small time with this approatch. I think you canonly call this a minor flaw and nothing to do unless you find another approach.

It should be reliable, but then you have to do it as this:
1 send the escape key
2 post a message to custom message handler
3 let the custom message handler create your menu

Windows messages events are always processed in right sequence so by doing it so, the escape key is send long before your menu is created.
Reply With Quote