|
-
March 31st, 1999, 08:53 AM
#1
I want to use CToolTipCtrl in CMyWnd derived from CFrameWnd
Hello!
I'm korean student.
I want to use CToolTipCtrl in MyWnd derived from CFrameWnd.
The window has many region for tips.
and Tiptext can change dynamicaly.
1. m_ToolTip.Create(this, TTS_ALWAYSTIP);
2. m_ToolTip.AddTool(this);
3. If mouse pointer is in particular region call
m_ToolTip.Activate(TRUE);
m_ToolTip.UpdateTipText("Hello",(CWnd*)this);
else
m_ToolTip.Activate(FALSE);
4. For dynamic text change, call
m_ToolTip.UpdateTipText("Hello",(CWnd*)this);
What is wrong?
Help...
thank you...
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
|