• Welcome to PlanetSquires Forums.
 

WM_CONTEXTMENU for TreeView control never fire ?

Started by Jean-pierre Leroy, April 13, 2011, 10:46:27 AM

Previous topic - Next topic

Jean-pierre Leroy

Dear FF Users,

I tried to create a ContextMenu when the user right-click on a TreeView control.

With ListView control I use the WM_CONTEXTMENU as well and it works well, but with TreeView control the message never fired ?

Is there any reason for that.

Thanks,
Jean-Pierre

Robert Eaton


Robert Eaton

Still not sure why WM_CONTEXTMENU doesn't seem to fire, but the second example in this link works using hittest.

http://www.powerbasic.com/support/pbforums/showthread.php?t=13144