Re: WTL SetToolTipText not working in UNICODE build



Hi Steve,

I have an application that uses bool
CBitmapButton::SetToolTipText(LPCTSTR lpstrText). It works fine in
multi-byte character set, but when I compile the app with UNICODE
character set all the tool tips break.

Thanks for your post.
Here is a sample function call.
m_butBrowseBy.SetToolTipText(_T("Select a view to browse by"));

That looks good. How does the error manifest itself? It compiles OK I assume. Does no tooltip show up, or is it displaying incorrect or no text?

--
SvenC


.


Loading