1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add RIGHT-MOUSE-CLICK event?

Discussion in 'APIs' started by Serge, Apr 30, 2008.

  1. Serge

    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!
     
  2.  
  3. KnutHandsome

    KnutHandsome New Member

    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.
     

Share This Page