Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: modeless dialog & sockets Pin
26-Feb-02 1:49
suss26-Feb-02 1:49 
GeneralRe: modeless dialog & sockets Pin
Jon Hulatt25-Feb-02 23:24
Jon Hulatt25-Feb-02 23:24 
GeneralRe: modeless dialog & sockets Pin
Joaquín M López Muñoz26-Feb-02 0:21
Joaquín M López Muñoz26-Feb-02 0:21 
GeneralVisual C++ Debugger Macros and Add-Ins Pin
BootMan25-Feb-02 6:50
BootMan25-Feb-02 6:50 
GeneralRe: Visual C++ Debugger Macros and Add-Ins Pin
J Patel25-Feb-02 11:43
J Patel25-Feb-02 11:43 
Generaltooltips - how to retrieve the text Pin
deejay25-Feb-02 6:34
deejay25-Feb-02 6:34 
GeneralRe: tooltips - how to retrieve the text Pin
Jeremy Falcon25-Feb-02 9:04
professionalJeremy Falcon25-Feb-02 9:04 
GeneralRe: tooltips - how to retrieve the text Pin
deejay26-Feb-02 0:28
deejay26-Feb-02 0:28 
Mr. Falcon thank you very much for your quick answer,

This is the part of code i use:

::GetClassName(hwnd, ClassName, 200);
if(strcmp(ClassName,"tooltips_class32") == 0) {
vidljiv = IsWindowVisible(hwnd);
if (vidljiv){
// nasoTool = SendMessage(hwnd, TTM_GETCURRENTTOOL, 0,(LPARAM) (LPTOOLINFO)&ti);
// if (nasoTool)
// ::MessageBox(NULL, ti.lpszText,"TOOLTIP INFO", MB_OK);
::GetWindowText(hwnd,WindowCaption,100);
::MessageBox(NULL, WindowCaption,"TOOLTIP INFO", MB_OK);
}
}

commented parts are the second solution (instead of the last two lines - getWindowtText and MessageBox)
Unfortunately neither solution works. GetWindowText returns an empty string and SendMessage returns 0. A guy from microsoft replied that, i quote "However, pointers cross process using SendMessage won't work."...
So it seems that catching tooltip text is not possible?!?
If you have any idea what else could i try please be so kind and post a reply.
I would like to thank you again for your efforts.
Best regards,
Dejan
GeneralRe: tooltips - how to retrieve the text Pin
deejay28-Feb-02 5:17
deejay28-Feb-02 5:17 
GeneralGlobal variable clarifications Pin
dazinith25-Feb-02 6:01
dazinith25-Feb-02 6:01 
GeneralRe: Global variable clarifications Pin
Joaquín M López Muñoz25-Feb-02 6:15
Joaquín M López Muñoz25-Feb-02 6:15 
GeneralRe: Global variable clarifications Pin
Jon Hulatt25-Feb-02 6:21
Jon Hulatt25-Feb-02 6:21 
GeneralRemove CDialogBar Border Pin
Brian V Shifrin25-Feb-02 6:05
Brian V Shifrin25-Feb-02 6:05 
GeneralOle drag and drop Pin
cycosi25-Feb-02 5:31
cycosi25-Feb-02 5:31 
GeneralMDI Question Pin
RobJones25-Feb-02 4:54
RobJones25-Feb-02 4:54 
GeneralRe: MDI Question Pin
Carlos Antollini25-Feb-02 5:06
Carlos Antollini25-Feb-02 5:06 
GeneralRe: MDI Question Pin
RobJones25-Feb-02 5:12
RobJones25-Feb-02 5:12 
GeneralRe: MDI Question Pin
Carlos Antollini26-Feb-02 3:31
Carlos Antollini26-Feb-02 3:31 
GeneralProblem about serialization and filename Pin
Charles Liu25-Feb-02 4:36
Charles Liu25-Feb-02 4:36 
GeneralThe procedure entry point could not be located Pin
Rubio25-Feb-02 4:04
Rubio25-Feb-02 4:04 
GeneralRe: The procedure entry point could not be located Pin
Cliff Dabrowski25-Feb-02 4:37
Cliff Dabrowski25-Feb-02 4:37 
GeneralRe: The procedure entry point could not be located Pin
Michael Dunn25-Feb-02 7:35
sitebuilderMichael Dunn25-Feb-02 7:35 
GeneralRe: The procedure entry point could not be located Pin
Tim Deveaux25-Feb-02 7:43
Tim Deveaux25-Feb-02 7:43 
GeneralMSN Messenger Send Message To Pin
25-Feb-02 3:55
suss25-Feb-02 3:55 
GeneralRe: MSN Messenger Send Message To Pin
Michael P Butler25-Feb-02 4:07
Michael P Butler25-Feb-02 4:07 

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.