Need Urgent Help for a listener catching tooltips
-
I must urgently develop a listener which will catch tooltips (or focus) and will return their text/information to me. The thing I want to do is to get the text and use it to identify where my current tab/mouse/focus stands. Using MFC but any application sample/code/suggestion is acceptable. Thanx in advance.
-
I must urgently develop a listener which will catch tooltips (or focus) and will return their text/information to me. The thing I want to do is to get the text and use it to identify where my current tab/mouse/focus stands. Using MFC but any application sample/code/suggestion is acceptable. Thanx in advance.
You mean catch _all_ tooltips? Even from other apps? Look up windows hooks, start at SetWindowsHookEx - you will need to intercept all messages for all processes (though you may be able to use a CBT hook and just check for the window class equal to TOOLTIPCLASSA\TOOLTIPCLASSW) and work out when a tool tip is created and dispayed and get the text from it.