void CBCGPStatusBar::SetPaneIcon | ( | int | nIndex, |
HBITMAP | hBmp, | ||
COLORREF | clrTransparent = RGB(255, 0, 255) , |
||
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. |
hBmp | Handle to the bitmap to be set as the pane image. |
clrTransparent | Transparent color of the bitmap specified by hBmp. |
bUpdate | Specifies whether to update the pane content immediately. |
bAlphaBlend | Should be TRUE if the icon uses 32 bit color. |