#263 CToolInfo. Needs tweaking like RuntimeHelper :: SizeOf_ * ()

v1.0 (example)
closed-fixed
None
5
2014-02-18
2013-04-15
Anonymous
No

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.

Discussion


Anonymous


Cancel   Add attachments