I have a few bitmaps that I have attached tooltips to. Sample code for one of them:
TTADDTOOL hTooltip,@TTF_SUBCLASS|@TTF_IDISHWND|@TTF_CENTERTIP,GETCONTROLHANDLE(w1,BUT_addnew),w1.hWnd,"Add a new customer"
But this code doesn't work with a JPG button that is loaded with LOADIMAGE (ie, it has a UINT handle, rather than a name)
Any ideas how to get round this?
Well, that has been fixed by using a bitmap instead of jpeg. But it would be nice to know for the future!