Partilhar via


CStatic Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

CStatic

Constructs a CStatic object.

Initialization

Create

Creates the Windows static control and attaches it to the CStatic object.

Operations

GetBitmap

Retrieves the handle of the bitmap previously set with SetBitmap.

GetCursor

Retrieves the handle of the cursor image previously set with SetCursor.

GetEnhMetaFile

Retrieves the handle of the enhanced metafile previously set with SetEnhMetaFile.

GetIcon

Retrieves the handle of the icon previously set with SetIcon.

SetBitmap

Specifies a bitmap to be displayed in the static control.

SetCursor

Specifies a cursor image to be displayed in the static control.

SetEnhMetaFile

Specifies an enhanced metafile to be displayed in the static control.

SetIcon

Specifies an icon to be displayed in the static control.

Overridables

DrawItem

Override to draw an owner-drawn static control.

See Also

Reference

CStatic Class

Hierarchy Chart