SECOwnerDrawButton::OnSetStyle

LRESULT SECOwnerDrawButton::OnSetStyle(WPARAM wParam, LPARAM lParam)

Called when a BM_SETSTYLE message is sent.

Defined in: SECBTNS.cpp

Return Value

Always returns 0.

Parameters

wParam

The new button style

lParam

The low word determines if the button should be redrawn.

Comments

This method ensures that the new style includes the BS_OWNERDRAW style.

See Also

SECOwnerDrawButton