tooltips may not work in some settings of the compiler / computer.
So CToolInfo inherits TOOLINFO and in constructor CToolInfo
writen the following code
cbSize = sizeof (TOOLINFO);
This is wrong. The structure TOOLINFO has no fixity size.
Needs tweaking like
cbSize = RunTimeHelper :: SizeOf_TOOLINFO ();
To test - do not work function CToolTipCtrlT <T>. UpdateTipText () and CToolTipCtrlT <T>. AddTool (HWND hWnd, ATL :: _U_STRINGorID text = LPSTR_TEXTCALLBACK, LPCRECT lpRectTool = NULL, UINT nIDTool = 0)
AddTool function can return a bad value.