SECTrayIcon::SetIcon

Set the associated tray icon.
Use this function to set/reset the tray icon. Note that system tray icons should be 16x16 pixels in size.

Defined in: TrayIcon.cpp

Syntax

SetIcon(UINT nIconID)

SetIcon(LPCTSTR szIconID)

SetIcon(HICON hIcon)

Return Value

void

Parameters

nIconID

icon resource id

szIconID

icon resource string

hIcon

handle to icon

See Also

SECTrayIcon