How do I get tooltips to work in MFC for menus?
Posted
by frungash
on Stack Overflow
See other posts from Stack Overflow
or by frungash
Published on 2010-03-23T14:13:02Z
Indexed on
2010/03/23
15:23 UTC
Read the original article
Hit count: 309
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.
© Stack Overflow or respective owner