BOOL SECOwnerDrawButton::Create(LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, int nID, int iFlags = 0)
Creates an SECOwnerDrawButton button control.
Defined in: SECBTNS.cpp
Return Value
Nonzero if the SECOwnerDrawButton button control was successfully created; otherwise 0.
Parameters
lpszCaption
Specifies the button control's caption.
dwStyle
Specifies the button control's style.
RECT& rect
Specifies the button control's size and position.
pParentWnd
Pointer to the button's parent window.
nID
Specifies the button resource ID.
SEC_BTN_DEFAULT_ONFOCUS
The button will behave as default button when in focus.
iFlags
Specifies the style that defines the button's behavior.
See Also
SECOwnerDrawButton AttachButton