SECOwnerDrawButton::DrawFocus
Called to add/remove a focus rectangle on the face of the button.
Defined in: SECBTNS.cpp
Syntax
void DrawFocus(CDC* pDC, LPDRAWITEMSTRUCT lpDrawItemStruct);virtual void DrawFocus(CDC* pDC, CRect& rect) = 0;
Return Value
void
Parameters
pDC
Points to the device context.
lpDrawItemStruct
The bounding rectangle for the face of the button.
rect
The bounding rectangle for the face of the button.
Comments
The rect structure identifies the bounding rectangle for the face of the button. This is the client rectangle of the button less any borders.See Also