Partager via


CBitmapButton::CBitmapButton

Creates a CBitmapButton object.

CBitmapButton( );

Remarks

After creating the C++ CBitmapButton object, call CButton::Create to create the Windows button control and attach it to the CBitmapButton object.

Example

// Declare a bitmap button object on the stack.
CBitmapButton myButton;

// Declare a bitmap button object on the heap.
CBitmapButton* pmyButton = new CBitmapButton;

Requirements

Header: afxext.h

See Also

Reference

CBitmapButton Class

Hierarchy Chart

CBitmapButton::LoadBitmaps

CBitmapButton::AutoLoad

CBitmapButton::SizeToContent

CButton::Create

Other Resources

CBitmapButton Members