SECOwnerDrawButton::DrawButton

CRect SECOwnerDrawButton::DrawButton(CDC* pDC, LPDRAWITEMSTRUCT lpDS)

Draws the button.

Defined in: SECBTNS.cpp

Return Value

The internal rectangle for the button.

Parameters

pDC

Points to the device context.

lpDS

The DRAWITEMSTRUCT passed with the WM_DRAWITEM message.

Comments

PreDrawButton is called before this method, PostDrawButton is called after it.

See Also

SECOwnerDrawButton DrawItem PreDrawButton PostDrawButton