How do I get tooltips to work in MFC for menus?
- by frungash
I have a dlg box as the main window. After a few searches on the we I tried downloading and running the sample the source here:
http://msdn.microsoft.com/en-us/magazine/cc164067.aspx
I get a compile error:
error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CStaticLink::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)'
1 Cast from base to derived requires dynamic_cast or static_cast
(VS 2008)
The tooltips functionality seems to be a bit of a challenge. Any suggestions on how to get this working are much appreciated.