Export (0) Print
Expand All
Expand Minimize

CWinAppEx::InitMouseManager

Initializes the CMouseManager object.

BOOL InitMouseManager();

Nonzero if the method creates the CMouseManager object; 0 if the CMouseManager object already exists.

If you call CWinAppEx::GetMouseManager, the default implementation of that method calls InitMouseManager.

If your application already has a mouse manager and you call InitMouseManager, your application will have an ASSERT failure. Therefore you should not call InitMouseManager if you create a CMouseManager object directly. If you are not using a custom CMouseManager, you should use GetMouseManager to create a CMouseManager object.

Header: afxwinappex.h

Show:
© 2014 Microsoft