Collapse the table of content
Expand the table of content



Initializes the CTooltipManager object.

BOOL InitTooltipManager();

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

If you call CWinAppEx::GetTooltipManager, the default implementation of that method calls InitTooltipManager.

If your application already has a tooltip manager and you call InitTooltipManager, your application will have an ASSERT failure. Therefore, you should not call InitTooltipManager if you create a CTooltipManager object directly. If you are not using a custom CTooltipManager, you should use GetTooltipManager to create a CTooltipManager object.


Header: afxwinappex.h

© 2016 Microsoft