Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Expert
Am Developing an application in which i need to access tooltip text from the operating system as well its application's window
I want to access tooltip text from the Start Menu as well from any i-con exist on the Desktop.
So plz give me hint how could I access ToolTip Text on mousemove and store in a application's textBox Control.
"I Need to access ToolTip From Start Button And Its Sub Menu's ToolTip from my application. All The Desktop's ICON's ToolTip. This is my Requirement, PLZ HELP...."
PLZ Explain The Complete process for this...
Great Thank in Adv...
Posted
Updated 22-Aug-11 19:39pm
v2

I would think the only way to do this would be by using Windows Hooks[^] and activating your app on the appropriate messages. I have not used this feature much myself but there are probably some articles about it somewhere on the net.
 
Share this answer
 
Comments
R. S. Verma 25-Aug-11 2:33am    
Thanks Rechard,
Its really help full...
I used following code snipet for solving my problem :

hWndToolTip = ::FindWindow("tooltips_class32",NULL);
iToolTipLen = ::SendMessage(hWndToolTip,WM_GETTEXTLENGTH,0,0);
strToolTipText = new TCHAR[iToolTipLen]; // Allocate the buffer
::SendMessage(hWndToolTip,WM_GETTEXT,(WPARAM)iToolTipLen+1,(LPARAM)strToolTipText ); // Get the needed text in strToolTipText


Thanks :)
 
Share this answer
 
Try to use this one CXInfoTip - Information Tooltip.
 
Share this answer
 
Comments
R. S. Verma 23-Aug-11 1:13am    
Hi Sergey
Great Thanks For the reply
But I have this kind of solution already
My requirement is different.
"I have to access tooltip Text From Start Button at bottom-left and its Start menu contents, not to from application itself".
For Example ToolTip From Close Button,Maximize, Minimize and from any tool bar of any application, Desktop icon's tooltip Text I Need.
I hope You got my Question
Thnks
Sergey Chepurin 23-Aug-11 5:35am    
ToolTips are not easy to implement in Win32, easier in MFC. I just proposed this solution, because nobody seemed to have one. I don't think you will find anything with such attitude, but good luck anyway.
R. S. Verma 23-Aug-11 6:54am    
Oh parden me sir if u got wrong anything in my statement ... but i didnt mean anything which have attitude..
well thanks for suggestion...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900