TTS_ALWAYSTIP doesn't work !
Hi everybody !
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.
What can I do then ?
Thanks...
Re: TTS_ALWAYSTIP doesn't work !
I got the same problem now,do u have any splution other that sub classing???
Re: TTS_ALWAYSTIP doesn't work !
Could you provide more details about your problem, app type, IDE and so on?
Re: TTS_ALWAYSTIP doesn't work !
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.
IDE is visual studio 2010.
Re: TTS_ALWAYSTIP doesn't work !
Well, how do you display a tooltip?
Re: TTS_ALWAYSTIP doesn't work !
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"));
Re: TTS_ALWAYSTIP doesn't work !
Well, I usually use a code like this and this and never had any problem to display tooltips for disabled controls!
Re: TTS_ALWAYSTIP doesn't work !
am beginner in MFC can u suggest me any books to prepare.