CStatusBarCtrl::SetIcon

BOOL SetIcon( int nPane**, HICON** hIcon );

Return Value

Nonzero if successful; otherwise zero.

Parameters

nPane

The zero-based index of the pane that will receive the icon. If this parameter is -1, the status bar is assumed to be a simple status bar.

hIcon

Handle to the icon to be set. If this value is NULL, the icon is removed from the part.

Remarks

This member function implements the behavior of the Win32 message , as described in the Platform SDK.

Example

See the example for CStatusBarCtrl::SetBkColor.

CStatusBar OverviewClass MembersHierarchy Chart