How to add RIGHT-MOUSE-CLICK event?

Serge

New Member
Hi all,

I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ...

but NO OCX.RightMouseClick ???

How can I apply this one to my OCX control? This should be simple but you have to know :blush:

Thanks in advance!
 
I have a TreeView Control 6.0 (SP6) on my window (.w). In the Common OCX Events I see OCX.DblClick , OCX.Click, ...

but NO OCX.RightMouseClick ???

How can I apply this one to my OCX control?

Assuming by 'apply' you mean you want to intercept the event (which is the opposite meaning, so perhaps I have misinterpreted),

Try this in the mouseup event instead (MS TreeView 6):

MESSAGE p-button
VIEW-AS ALERT-BOX INFO BUTTONS OK.

You should have different values according to which button you click.
 
Top