Export (0) Print
Expand All

CStatusBarCtrl::SetIcon

Visual Studio 6.0

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 http://msdn.microsoft.com/en-us/library/bb760755(v=vs.60).aspx , as described in the Platform SDK.

Example

See the example for CStatusBarCtrl::SetBkColor.

CStatusBar OverviewClass MembersHierarchy Chart

Show:
© 2014 Microsoft