Click here to Skip to main content
15,900,433 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Buffer Size and Other Parameters! Pin
David Crow31-Mar-06 9:16
David Crow31-Mar-06 9:16 
QuestionCToolTipCtrl in modeless dialog ??? Pin
madmax000131-Mar-06 7:51
madmax000131-Mar-06 7:51 
QuestionRe: CToolTipCtrl in modeless dialog ??? Pin
David Crow31-Mar-06 7:55
David Crow31-Mar-06 7:55 
AnswerRe: CToolTipCtrl in modeless dialog ??? Pin
madmax000131-Mar-06 9:58
madmax000131-Mar-06 9:58 
AnswerRe: CToolTipCtrl in modeless dialog ??? Pin
Hamid_RT31-Mar-06 8:43
Hamid_RT31-Mar-06 8:43 
GeneralRe: CToolTipCtrl in modeless dialog ??? Pin
madmax000131-Mar-06 9:59
madmax000131-Mar-06 9:59 
GeneralRe: CToolTipCtrl in modeless dialog ??? Pin
madmax00016-Apr-06 6:36
madmax00016-Apr-06 6:36 
GeneralRe: CToolTipCtrl in modeless dialog ??? Pin
Albertino17-Apr-14 23:36
Albertino17-Apr-14 23:36 
I had the same issue.
And now, thanks to your suggestion it works.

I switched from:
m_toolTip.AddTool(this,ttwtext.c_str(),cr,1);

To
TOOLINFO ti;

ti.cbSize = sizeof(TOOLINFO);
ti.lpszText = (LPTSTR)last_ttwtext.c_str();
ti.hinst = AfxGetInstanceHandle();
ti.hwnd = this->GetSafeHwnd();
ti.uFlags = TTF_SUBCLASS | TTF_IDISHWND;
ti.uId = (UINT) this->GetSafeHwnd();

m_toolTip.SendMessage(TTM_ADDTOOL, 0, (LPARAM) &ti);


Thanks!
AnswerRe: CToolTipCtrl in modeless dialog ??? Pin
madmax00016-Apr-06 6:42
madmax00016-Apr-06 6:42 
QuestionHelp with multi-sort Pin
Kurt _B31-Mar-06 6:13
Kurt _B31-Mar-06 6:13 
AnswerRe: Help with multi-sort Pin
FarPointer31-Mar-06 7:06
FarPointer31-Mar-06 7:06 
GeneralRe: Help with multi-sort Pin
Kurt _B31-Mar-06 7:10
Kurt _B31-Mar-06 7:10 
GeneralRe: Help with multi-sort Pin
FarPointer31-Mar-06 7:16
FarPointer31-Mar-06 7:16 
GeneralRe: Help with multi-sort Pin
David Crow31-Mar-06 7:39
David Crow31-Mar-06 7:39 
GeneralRe: Help with multi-sort Pin
David Crow31-Mar-06 7:14
David Crow31-Mar-06 7:14 
GeneralRe: Help with multi-sort Pin
FarPointer31-Mar-06 7:19
FarPointer31-Mar-06 7:19 
GeneralRe: Help with multi-sort Pin
David Crow31-Mar-06 7:31
David Crow31-Mar-06 7:31 
GeneralRe: Help with multi-sort Pin
FarPointer31-Mar-06 7:35
FarPointer31-Mar-06 7:35 
GeneralRe: Help with multi-sort Pin
Maximilien31-Mar-06 10:16
Maximilien31-Mar-06 10:16 
GeneralRe: Help with multi-sort Pin
Kurt _B31-Mar-06 7:23
Kurt _B31-Mar-06 7:23 
GeneralRe: Help with multi-sort Pin
David Crow31-Mar-06 7:38
David Crow31-Mar-06 7:38 
GeneralRe: Help with multi-sort Pin
FarPointer31-Mar-06 7:43
FarPointer31-Mar-06 7:43 
QuestionCallback to MFC App from MFC DLL Pin
b_p_smith31-Mar-06 5:48
b_p_smith31-Mar-06 5:48 
AnswerRe: Callback to MFC App from MFC DLL Pin
Kurt _B31-Mar-06 6:05
Kurt _B31-Mar-06 6:05 
GeneralRe: Callback to MFC App from MFC DLL Pin
b_p_smith31-Mar-06 6:26
b_p_smith31-Mar-06 6:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.