Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HINSTANCE hPrevious Pin
Atlence24-Jul-02 5:31
Atlence24-Jul-02 5:31 
GeneralRe: HINSTANCE hPrevious Pin
Daniel Lohmann24-Jul-02 22:59
Daniel Lohmann24-Jul-02 22:59 
GeneralDll error Pin
suresh_sathya24-Jul-02 1:16
suresh_sathya24-Jul-02 1:16 
GeneralRe: Dll error Pin
Nish Nishant24-Jul-02 1:26
sitebuilderNish Nishant24-Jul-02 1:26 
GeneralRe: Dll error Pin
KarstenK24-Jul-02 1:34
mveKarstenK24-Jul-02 1:34 
GeneralTooltips in win32 ... Pin
Neha24-Jul-02 1:15
Neha24-Jul-02 1:15 
GeneralRe: Tooltips in win32 ... Pin
Fortran24-Jul-02 7:49
Fortran24-Jul-02 7:49 
GeneralRe: Tooltips in win32 ... Pin
jwarns1322-Oct-02 2:26
jwarns1322-Oct-02 2:26 
Fortran and Neha, I am having the same type of problem that the original thread speaks of. I have created a window and I am sure that is being done correctly. I also set the position of the window, where I would like the tooltip to appear. The problem is, my call to add and activate the tooltip keeps failing. I am hoping by replying to this thread it will somehow get to one of you and you might be able to give me some insight. The following code is how I am initializing the toolinfo structure. Any help you might be able to provide would be greatly appreciated.

/* INITIALIZE MEMBERS OF THE TOOLINFO STRUCTURE */
ti.cbSize = sizeof(TOOLINFO);
ti.uFlags = TTF_SUBCLASS | TTF_IDISHWND;
ti.hwnd = hwnd;
ti.hinst = _Module.GetModuleInstance();
ti.uId = (UINT_PTR)hwnd;
ti.lpszText = (LPTSTR)wszTTtext;
// ToolTip control will cover the whole window
ti.rect.left = rect.left;
ti.rect.top = rect.top;
ti.rect.right = rect.right;
ti.rect.bottom = rect.bottom;

if(!SendMessage(hwndTT,TTM_ACTIVATE,(WPARAM)TRUE,0)){
WriteLog(_T(" > Could not Activate TooltipControl\r\n"));
}

/* SEND AN ADDTOOL MESSAGE TO THE TOOLTIP CONTROL WINDOW */
if(!SendMessage(hwndTT, TTM_ADDTOOL, 0, (LPARAM) (LPTOOLINFO) &ti)){
WriteLog(_T(" > Did not Create TooltipControl\r\n"));
}
GeneralSimple question = (I hope) simple answer Pin
[CoY0te]24-Jul-02 0:59
[CoY0te]24-Jul-02 0:59 
GeneralRe: Simple question = (I hope) simple answer Pin
Tomasz Sowinski24-Jul-02 1:10
Tomasz Sowinski24-Jul-02 1:10 
GeneralRe: Simple question = (I hope) simple answer Pin
[CoY0te]24-Jul-02 1:24
[CoY0te]24-Jul-02 1:24 
GeneralKey Press Messages Pin
Atlence24-Jul-02 0:41
Atlence24-Jul-02 0:41 
GeneralRe: Key Press Messages Pin
Tomasz Sowinski24-Jul-02 0:45
Tomasz Sowinski24-Jul-02 0:45 
GeneralRe: Key Press Messages Pin
Nish Nishant24-Jul-02 1:30
sitebuilderNish Nishant24-Jul-02 1:30 
GeneralRe: Key Press Messages Pin
Atlence24-Jul-02 5:34
Atlence24-Jul-02 5:34 
GeneralMFC extention DLL problem Pin
Raphael Kindt24-Jul-02 0:03
Raphael Kindt24-Jul-02 0:03 
GeneralRe: MFC extention DLL problem Pin
Anonymous24-Jul-02 0:53
Anonymous24-Jul-02 0:53 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:31
Raphael Kindt24-Jul-02 2:31 
GeneralRe: MFC extention DLL problem Pin
[CoY0te]24-Jul-02 1:17
[CoY0te]24-Jul-02 1:17 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:38
Raphael Kindt24-Jul-02 2:38 
GeneralRe: MFC extention DLL problem Pin
Dudi Avramov24-Jul-02 2:32
Dudi Avramov24-Jul-02 2:32 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:42
Raphael Kindt24-Jul-02 2:42 
Generalmaximum storage in int variables Pin
asif m@hmood23-Jul-02 23:33
asif m@hmood23-Jul-02 23:33 
GeneralRe: maximum storage in int variables Pin
Nish Nishant24-Jul-02 0:04
sitebuilderNish Nishant24-Jul-02 0:04 
GeneralRe: maximum storage in int variables Pin
Anonymous24-Jul-02 1:43
Anonymous24-Jul-02 1:43 

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.