Originally posted by: Dave
I believe CDataTipListCtrl::m_pchTip needs to be CHAR rather than TCHAR, and that a few casts in CDataTipListCtrl::OnToolTipText are incorrect --- all of which becomes readily apparent when one tries to do a Unicode build of the code. Thank goodness multibyte character strings are going the way of BAUDOT; soon much of this ugly code will be nothing more than a bad dream.
Also, there are two places in CDataTipListCtrl::OnToolTipText where lstrcpyn is used to copy one character too few. lstrcpyn requires a character count that includes the terminating NULL, so just add one to the length in each call (the third parameter).
The general approach of this code has been very useful to me; thanks for posting it!
Reply
Originally posted by: Andy
The following line is used to ultimately get a pointer to the tooltip object:
AFX_THREAD_STATE* pThreadState = AfxGetThreadState();
Tis function isnt available in VC++5, so im wondering what it does and whether there is a work-around for VC++5.
Andy
ReplyOriginally posted by: vinod
You shown the code to have a tooltip having word wrap(multi line) feature. How do i word wrap a tooltip in visual basic, for listview control.
thanks
vinod
Originally posted by: Francis Vaudry
What can I say more, great job. You made a very happy person, I have such a pain making those tooltips multi-line.
ReplyOriginally posted by: p_sivaiah
from list Box once if u select paramname and right click it should popup functions (like properties ) ;