Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Calls the user-defined command that is associated with a view when the user double-clicks anywhere within that view.
virtual BOOL OnViewDoubleClick(
CWnd* pWnd,
int iViewId
);
Parameters
[in] pWnd
A pointer to an object derived from the CView Class.[in] iViewId
The view ID.
Return Value
True if the framework finds a command; otherwise false.
Remarks
In order to support custom mouse behavior, you must call this function when you process the WM_LBUTTONDBLCLK message. This method will execute the command associated with the view ID supplied by iViewId. For more information about custom mouse behavior, see Keyboard and Mouse Customization.
Requirements
Header: afxwinappex.h