NM_CONTEXTMENU

Send Feedback

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 Values

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 2003 devices do not support context menus.

This topic is also documented in the Microsoft® Windows® CE SDK. Only the requirements table and the Return Values have changed.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: htmlctrl.h
Library: htmlctrl.lib

See Also

HTML Control API Notifications | NM_HTMLCONTEXT | DTM_ENABLECONTEXTMENU | WC_HTML Windows styles


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: