DTM_ENABLECONTEXTMENU
This message is sent by an application to enable or disable the context-sensitive menu for the HTML control.
Syntax
DTM_ENABLECONTEXTMENU
wParam = 0;
lParam = (LPARAM)(BOOL) bEnableContextMenu;
Parameters
- bEnableContextMenu
A Boolean that indicates whether to enable the context menu for the HTML control. If set to TRUE, the context menu is enabled. If set to FALSE, the context menu is not enabled.
Return Values
None.
Remarks
Smartphone devices do not support context menus.
The following example shows how you might use this message.
SendMessage(hwndHTML, DTM_ENABLECONTEXTMENU, 0, FALSE);
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: None
OS Versions: Windows CE 3.0 and later
Header: htmlctrl.h
Library: htmlctrl.lib
See Also
HTML Control API Messages | NM_CONTEXTMENU | WC_HTML Windows styles
Send Feedback on this topic to the authors