Call this member function to associate a new bitmap with the static control.
The bitmap will be automatically drawn in the static control. By default, it will be drawn in the upper-left corner and the static control will be resized to the size of the bitmap.
HBITMAP SetBitmap( HBITMAP hBitmap );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CStatic Overview, CStatic Member Functions, Control Classes, CStatic::GetBitmap