MFC Bitmap Button
BitmapButton
ImageButton
1. Button Property
[Owner Draw] : True
2. Add Member Variable
3. Change Member Variable Type
CButton -> CBitmapButton
4. Load Bitmaps
m_Connect_Btn.LoadBitmaps(IDB_BITMAP_CONNECT_RESOURCE, IDB_BITMAP_CONNECT_SEL, IDB_BITMAP_CONNECT_FOCUS, IDB_BITMAP_CONNECT_DISABLED) m_Connect_Btn.SizeToContent();
'Programming > MFC' 카테고리의 다른 글
MFC CheckBox 컨트롤의 현재 상태 (0) | 2016.10.19 |
---|---|
MFC Control Color Change (0) | 2016.10.19 |
MFC Tab Control Color Change #2 (0) | 2016.10.18 |
MFC Tab Control Color Change #1 (1) | 2016.10.18 |
LINK : warning LNK4098: 'LIBCMT' defaultlib가 다른 라이브러리와 충돌합니다. /NODEFAULTLIB:library를 사용하십시오. (0) | 2016.10.06 |