SECOwnerDrawButton::OnLButtonDblClk
voidSECOwnerDrawButton::OnLButtonDblClk(UINTnFlags, CPointpoint)
Called when the user double clicks the left mouse button.
Defined in: SECBTNS.cpp
Return Value
void
Parameters
nFlags
Indicates whether various virtual keys are down.
point
Specifies the x- and y-coordinate of the cursor.
Comments
This method is overridden in order to detect second mouse down event since a second mouse button down event is interpreted by system as dowbleclick for owner draw styled buttons. If you dont want to receive second mouse down event derive from appropriate class and implement (can be empty) WM_LBUTTONDBLCLK message handler (but don't call base class) Notes for SECMenuButton users - there is mechanism in SECMenuButton class which removes second LButtonDown event after menu is shown see SECMenuButton::OnBnClicked function for more detailsSee Also