共用方式為


CStatic::CStatic

Constructs a CStatic object.

CStatic( );

Example

// Create a static object on the stack.
CStatic myStatic;

// Create a static object on the heap.
CStatic* pmyStatic = new CStatic;

Requirements

Header: afxwin.h

See Also

Concepts

CStatic Class

CStatic Members

Hierarchy Chart

CStatic::Create