I have a new problem to ask you : in my dialog based application, I would like to implement the tooltip functionality. I have done it with samplecode given in a developer forum. But, the tooltip only appears when the control is active, even if the TTS_ALWAYSTIP option has been specified.
When the edit control or the button is active, the tooltip appears when the mouse is over the control. It doesn't appear when the control is not active.
its a SDI application,am disabling the edit control to type any text in that,and i wanted to display tool tip on that edit control but this property is not working.
created a tool tip variable,
added pretranslatemsg function and with this code
m_tooltip.Create(this, TTS_BALLOON | TTS_ALWAYSTIP );
m_tooltip.AddTool(GetDlgItem(IDC_EDIT1),_T("edit box"));
Bookmarks