Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 May : how to capture right click popup in ms-word ?
| Subject: | how to capture right click popup in ms-word ? |
| Posted by: | "Imran Khan" (imran.kh..@summitindia.com) |
| Date: | 19 May 2006 08:48:55 |
Hi,
Can anyone suggest how to know wether the right click popup window (containing suggestion words for a wrong word) is actually being shown on a word document.
I have all the information about the window (title, class, theread id, process id etc) but do not know how to figure out when it is actually showing because 'FindWindow' always returns the handle irrespective of it is being shown or not.
Also, 'GetForeGrounwindow' always returns the documents handle even when the popup is being shown.
thanks in advance.