Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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

    • assigned_to: Nenad Stefanovic
    • Group: --> v1.0 (example)
     
  •  
  • Fixed. Changed files atlapp.h, atlctrls.h, commit #482

     
    • status: open --> closed-fixed
     
  • Fixed. Changed files atlapp.h, atlctrls.h, commit #482