22 #define DFCS_FOCUS 0x10000
51 virtual bool DrawEdge(HDC hdc, LPCRECT lprc, UINT edge, UINT grfFlags)
const = 0;
153 virtual bool DrawEdge(HDC hdc, LPCRECT lprc, UINT edge, UINT grfFlags)
const
156 return !!
::DrawEdge(hdc, &rc, edge, grfFlags);
172 switch ( uState & 0xFF )
174 case DFCS_BUTTON3STATE:
175 case DFCS_BUTTONCHECK:
176 case DFCS_BUTTONRADIO:
177 _lprc->right = _lprc->left + 13;
178 _lprc->bottom = _lprc->top + 13;
181 if ( hdc == NULL ) {
return true; }
182 return !! ::DrawFrameControl(hdc, _lprc, DFC_BUTTON, uState);
216 _po.x = ::GetSystemMetrics(SM_CXEDGE);
217 _po.y = ::GetSystemMetrics(SM_CYEDGE);
virtual bool DrawEdge(HDC hdc, LPCRECT lprc, UINT edge, UINT grfFlags) const
[描画] 長方形の辺を描画.
virtual void GetEdgeOffset(POINT &_po) const
[取得] エッジの幅、高さ.
virtual bool DrawButtonControl(HDC hdc, LPRECT _lprc, UINT uState) const
[描画] ボタンコントロール描画.
virtual void GetPushedOffset(POINT &_po) const
[取得] 押下状態のずれ.
virtual bool DrawFocusRect(HDC hdc, LPCRECT lpRect) const
[描画] フォーカス枠描画.
virtual bool DrawFocusRect(HDC hdc, LPCRECT lpRect) const =0
[描画] フォーカス枠描画.
virtual ~IPartsDrawable(void)
デストラクタ
virtual void GetEdgeOffset(POINT &_po) const =0
[取得] エッジの幅、高さ.
virtual bool DrawEdge(HDC hdc, LPCRECT lprc, UINT edge, UINT grfFlags) const =0
[描画] 長方形の辺を描画.
virtual bool DrawButtonControl(HDC hdc, LPRECT _lprc, UINT uState) const =0
[描画] ボタンコントロール描画.
virtual void GetPushedOffset(POINT &_po) const =0
[取得] 押下状態のずれ.