Contents Index Topic Contents | ||
Previous Topic: SB_SETBKCOLOR Next Topic: SB_SETMINHEIGHT |
SB_SETICON
SB_SETICON wParam = (WPARAM)(INT)iPart; lParam = (LPARAM)(HICON)hIcon;Sets the icon for a part in a status bar.
- Returns nonzero if successful, or zero otherwise.
- iPart
- Zero-based index of the part 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.
The status bar will not destroy the icon. It is the calling application's responsibility to keep track of and destroy any icons.
Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.