CStatic::SetBitmap

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.

Syntax

HBITMAP SetBitmap( HBITMAP hBitmap );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CStatic Overview, CStatic Member Functions, Control Classes, CStatic::GetBitmap