[MFC] How Do I
[MFC] How Do I: Use the CBitmapButton Class in MFC
DreamHunter 이동훈
2010. 10. 27. 14:40
Use the CBitmapButton Class in MFC
다이얼로그에서 버튼을 만들고 속성에 Owner Draw를 true로 설정
4개의 비트맵 준비(Down, Up, Disable, Focus)
CBitmapButton m_bmButton;
m_bmButton.LoadBitmaps(IDB_UP, IDB_DOWN, IDB_FOCUS, IDB_DISABLE);
m_bmButton.SizeToContent();