Click here to Skip to main content
15,907,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen18-May-06 20:20
Cedric Moonen18-May-06 20:20 
GeneralRe: Error not releasing memeory Pin
led mike19-May-06 5:21
led mike19-May-06 5:21 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen19-May-06 6:19
Cedric Moonen19-May-06 6:19 
GeneralRe: Error not releasing memeory Pin
led mike19-May-06 7:26
led mike19-May-06 7:26 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen21-May-06 22:24
Cedric Moonen21-May-06 22:24 
QuestionMultiple Line ToolTip Pin
Andy Rama18-May-06 4:14
Andy Rama18-May-06 4:14 
AnswerRe: Multiple Line ToolTip Pin
NiceNaidu18-May-06 5:12
NiceNaidu18-May-06 5:12 
GeneralRe: Multiple Line ToolTip Pin
Andy Rama18-May-06 5:45
Andy Rama18-May-06 5:45 
Hi,
Thanks for your suggestion. It's working. I am using following code.Is this correct code?

CToolTipCtrl m_tooltip;
m_tooltip.m_hWnd = ::CreateWindowEx(WS_EX_TOPMOST,TOOLTIPS_CLASS,NULL,
TTS_NOPREFIX | TTS_ALWAYSTIP,CW_USEDEFAULT,CW_USEDEFAULT,CW_USEDEFAULT,CW_USEDEFAULT,
this->m_hWnd,NULL,NULL,NULL);

::SendMessage(m_tooltip.m_hWnd, TTM_SETMAXTIPWIDTH, 0, SHRT_MAX);

CString text;
text.Format("Tool-Tip \n OK");
m_tooltip.AddTool(GetDlgItem(IDC_BUTTON1), text);

Best Regards,
Aniket

-- modified at 11:47 Thursday 18th May, 2006
GeneralRe: Multiple Line ToolTip Pin
Andy Rama18-May-06 19:56
Andy Rama18-May-06 19:56 
Questionlib file Pin
big_denny_20018-May-06 4:02
big_denny_20018-May-06 4:02 
AnswerRe: lib file Pin
Cedric Moonen18-May-06 4:10
Cedric Moonen18-May-06 4:10 
GeneralRe: lib file Pin
big_denny_20018-May-06 6:28
big_denny_20018-May-06 6:28 
AnswerRe: lib file Pin
NiceNaidu18-May-06 4:32
NiceNaidu18-May-06 4:32 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:41
Cedric Moonen18-May-06 4:41 
AnswerRe: lib file Pin
Eytukan18-May-06 4:34
Eytukan18-May-06 4:34 
GeneralRe: lib file Pin
Rage18-May-06 4:42
professionalRage18-May-06 4:42 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:45
Cedric Moonen18-May-06 4:45 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:50
NiceNaidu18-May-06 4:50 
GeneralRe: lib file Pin
Eytukan18-May-06 4:54
Eytukan18-May-06 4:54 
AnswerRe: lib file Pin
Eytukan18-May-06 4:54
Eytukan18-May-06 4:54 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:43
NiceNaidu18-May-06 4:43 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:46
Cedric Moonen18-May-06 4:46 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:53
NiceNaidu18-May-06 4:53 
GeneralRe: lib file Pin
Eytukan18-May-06 4:56
Eytukan18-May-06 4:56 
GeneralRe: lib file Pin
Rage18-May-06 6:04
professionalRage18-May-06 6:04 

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.