SB_SETICONSB_SETICON*
*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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.