LPARAMETERS button, shift, x, y LOCAL loNode *** if we have a shortcut menu associated *** with this treeview, show it if we right-clicked *** But only show it if we have actually right-clicked *** on a node, if we right-click on the '-' or '+' in front *** of a node, there is not way to select it IF Button = 2 AND NOT EMPTY( This.cMenu ) *** Get a reference to the node under the mouse loNode = This.HitTest( X * This.nFactorX, Y * This.nFactorY ) *** If we have a valid node, show the menu. IF NOT ISNULL( loNode ) This.ShowMenu() ENDIF ENDIF