I don't get multiline tooltips.
I get a block character for all carriage returns / line feeds that I have in the string ( '\r', '\n' ).
It works if I take out the following condition:
In other words, if I set the max tool tip width to 500 every time the program requests the tool tip text, it works.
Anybody know a better way of fixing the problem?
P.S. I do initialize bToolTipCtrlCustomizeDone to false and I am sure that the SetMaxTipWidth function is being called.
I'm actually using:
::SendMessage(pNMHDR->hwndFrom, TTM_SETMAXTIPWIDTH, 0, 500);
because AFX_THREAD_STATE is not defined
i have added tool tips to my ListCtrl program containing thumbnails, which is showing the thumb nail name. but some cases it is showing two tool tips( one what i have added and another provided by OS) when the text length is comparatively large(172 pixel).so how to show only one tool tips.
Please suggest me regarding this.
My app contains a listview control that has 3 row and 9 column data on it. The code works perfectly for top and bottom row data but it could not display ToolTips for middle row data. Any idea would be greatly appreciated!