NM_CONTEXTMENU

4/8/2010

This notification message is sent by the HTML viewer control when a user holds the stylus down in the viewer window before a context menu appears.

Syntax

NM_CONTEXTMENU
NM_HTMLCONTEXT * pnmHTMLContext = (NM_HTMLCONTEXT *)lParam;

Parameters

  • pnmHTMLContext
    Points to an NM_HTMLCONTEXT structure that contains information about the NM_CONTEXTMENU notification message. See NM_HTMLCONTEXT for more information.

Return Value

If the application handles this message it should return a non-zero result. Passing a zero result to the HTML control will result in the default context menu appearing.

Remarks

Smartphone 2002 and Smartphone for Windows Mobile 2003 devices do not support context menus.

Requirements

Header htmlctrl.h
Library htmlctrl.lib
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

HTML Control API Notifications
NM_HTMLCONTEXT
DTM_ENABLECONTEXTMENU
HTML Control API Window Styles