SECTrayIcon::Create

Create the system tray icon.

Note: Use this function to create the system tray icon. Generally it is sufficient to use the same notification message with differing notification ids for each tray icon. The GetNextNotifyID static member is useful in deriving a unique identifier. The second overload automates this procedure.

Defined in: TrayIcon.cpp

Syntax

Create(CWnd* pwnd, UINT nNotifyID,UINT nMsg=WM_SEC_TRAYICON_NOTIFY,HINSTANCE hinst = ::AfxGetInstanceHandle())

Create(CWnd* pwnd, UINT nMsg=WM_SEC_TRAYICON_NOTIFY, HINSTANCE hinst = ::AfxGetInstanceHandle())

Return Value

void

Parameters

pwnd

notification window

nNotifyID

notificiation identifier on tray events

nMsg

notification message on tray events

hisnt

application instance

See Also

GetNextNotifyID

SECTrayIcon