CBitmapButton::SizeToContent
비트맵 단추 비트맵의 크기를 조정 하려면이 함수를 호출 합니다.
void SizeToContent( );
예제
CBitmapButton* pmyButton = new CBitmapButton();
// Create the bitmap button (must include the BS_OWNERDRAW style).
pmyButton->Create(NULL, WS_CHILD|WS_VISIBLE|BS_OWNERDRAW,
CRect(10,10,100,100), pParentWnd, 1);
// Load the bitmaps for this button.
pmyButton->LoadBitmaps(IDB_UP, IDB_DOWN, IDB_FOCUS, IDB_DISABLE);
// Resize the button to be the size of the bitmaps.
pmyButton->SizeToContent();
요구 사항
헤더: afxext.h