kim, dongshin
March 31st, 1999, 07:53 AM
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...
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...