GUI/Skin
컨트롤 - MFC
jjryu
2010. 6. 4. 16:56
CWnd::Create() or DDX_Control()
SubclassWindow()
PreSubclassWindow() // virtual
CWnd
.PreSubclassWindow() // virtual
.ModifyStyle()
BS_OWNERDRAW
.SubclassDlgItem() or .SubclassWindow()
CDC
.DrawFrameControl()
DFC_BUTTON
DFCS_BUTTONPUSH
DFC_SCROLL
DFCS_SCROLLDOWN
DFCS_PUSHED
DFCS_INACTIVE
.DrawEdge()
EDGE_SUNKEN // BDR_SUNKENOUTER, BDR_SUNKENINNER
BF_RECT
.DrawFocusRect()
.DrawState()
DSS_DISABLED
ON_WM_CTLCOLOR
Flat controls with "mouseover" and "mouseout" effects.
참조 사이트:
SubclassWindow()
PreSubclassWindow() // virtual
CWnd
.PreSubclassWindow() // virtual
.ModifyStyle()
BS_OWNERDRAW
.SubclassDlgItem() or .SubclassWindow()
CDC
.DrawFrameControl()
DFC_BUTTON
DFCS_BUTTONPUSH
DFC_SCROLL
DFCS_SCROLLDOWN
DFCS_PUSHED
DFCS_INACTIVE
.DrawEdge()
EDGE_SUNKEN // BDR_SUNKENOUTER, BDR_SUNKENINNER
BF_RECT
.DrawFocusRect()
.DrawState()
DSS_DISABLED
ON_WM_CTLCOLOR
CTLCOLOR_STATIC
CButtonXP
CComboBoxXP
참조 사이트: