Page tree
Skip to end of metadata
Go to start of metadata

NavigationItemUIInterface function called by the framework to request that you create the window for you UI-side component.

Syntax

Parameters

pCs
Type: NAVCREATEITEM *
Pointer to a NAVCREATEITEM structure that defines how to create the window.

Return Value

Type: HWND
HWND of your newly created window or NULL if you cannot/will not create the window

Remarks

NAVCREATEITEM also contains an LPARAM context that is the same value that you specified as LPARAM field when you inserted the NavItem that NavItemCreateWindow is being called for. You can use this context any way you wish but often it is used to specify which instance of a class the message relates to. This allows you to use the same NavigationItemUIInterface object for different items.

Examples

See Also