CMFCCaptionButton::OnDraw
Draws the caption button.
virtual void OnDraw(
CDC* pDC,
BOOL bActive,
BOOL bHorz = TRUE,
BOOL bMaximized = TRUE,
BOOL bDisabled = FALSE
);
Parameters
[in] pDC
Pointer to a device context for the button.[in] bActive
Whether to draw an active button image.[in] bHorz
Reserved for use in a derived class.[in] bMaximized
Whether to draw a maximized button image.[in] bDisabled
Whether to draw an enabled button image.
Remarks
The bMaximized parameter is used when the button is a maximize or minimize button.
Requirements
Header: afxcaptionbutton.h