SECTrayIcon::ShowContextMenu

Show the context menu associated with this tray icon.

Note: Use this function to display a context menu in response to tray icon notification.

Defined in: TrayIcon.cpp

Syntax

ShowContextMenu(CWnd* pwnd, UINT nMenuID, UINT nSubMenu)

ShowContextMenu(CWnd* pwnd, UINT nMenuID, UINT nSubMenu)

Return Value

void

Parameters

pwnd

window to receive focus on dismissal of context menu

nMenuID

resource id of context menu

szMenuID

resource string of context menu

nSubMenu

submenu id

See Also

SECTrayIcon