void CBCGPStatusBar::SetPaneIcon | ( | int | nIndex, |
HICON | hIcon, | ||
BOOL | bUpdate = TRUE , |
||
BOOL | bAlphaBlend = FALSE |
||
) |
Sets indicator icon for a given index.
Call this member function to set the pane icon. If you don't want to display the image anymore just pass the NULL value as the image handle.
If there is any running animation that was set previously by SetPaneAnimation, the animation will be stopped.
nIndex | Index of the pane whose image is to be set. |
hIcon | Handle to the icon to be set as the pane image. |
bUpdate | Specifies whether to update the pane content immediately. |
bAlphaBlend | Should be TRUE if the icon uses 32 bit color. |