SftTree/DLL 6.5

Context Menu

Softel vdm, Inc.

A context menu (or popup menu) is easily implemented with SftTree/DLL.  The context menu is typically used when the user right-clicks on the column header.  As an example, a context menu could be used to hide and display columns in a tree control that has column headers.

Before displaying a context menu, an application should always send a WM_CANCELMODE message to the tree control.

WM_CONTEXTMENU

Applications receive the Windows message WM_CONTEXTMENU when the user right-clicks on a window.  The parent window of the tree control receives the message.

The WM_CONTEXTMENU message is generated if the user right-clicks anywhere within the tree control.

For more information on the WM_CONTEXTMENU message, please see the Windows API documentation.

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com