-
April 18th, 2000, 08:46 AM
#1
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...
-
January 30th, 2013, 05:26 AM
#2
Re: TTS_ALWAYSTIP doesn't work !
I got the same problem now,do u have any splution other that sub classing???
-
January 30th, 2013, 05:36 AM
#3
Re: TTS_ALWAYSTIP doesn't work !
Could you provide more details about your problem, app type, IDE and so on?
Victor Nijegorodov
-
January 30th, 2013, 06:27 AM
#4
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.
-
January 30th, 2013, 06:29 AM
#5
Re: TTS_ALWAYSTIP doesn't work !
Well, how do you display a tooltip?
Victor Nijegorodov
-
January 30th, 2013, 06:32 AM
#6
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"));
-
January 30th, 2013, 06:49 AM
#7
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!
Victor Nijegorodov
-
January 30th, 2013, 07:04 AM
#8
Re: TTS_ALWAYSTIP doesn't work !
am beginner in MFC can u suggest me any books to prepare.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|