Handle of previous (non-dolphin) Window 
Author Message
 Handle of previous (non-dolphin) Window

Does anyone know a reliable way to get a handle to the previously active
Window ( not dolphin managed) .
The scenario is that I have an app which runs as a hidden window with an
icon in the tray bar - when the tray icon is clicked a menu pops up giving
options to paste predefined strings of text into the last active window. I
need a reliable way of getting a handle to the last window and cannot see an
easy way to do this. WindowFromPoint is too hit and miss and FindWindow does
not work because text in the window caption changes and also the class name
seems to change from session to session. GetForegroundWindow shows the
active Dolphin Window.
TIA
David


Thu, 06 Jan 2005 17:59:37 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. searching for older non-commercial version of Dolphin

2. Handling COM events in Dolphin

3. Dolphin 98 exception handling problem

4. VW Problem (raise previous window)

5. Wanted: Previous version of Clarion for Windows

6. Clarion-DOS and Windows-2000 (Bad email addr on previous msg)

7. Making non-active window the window with focus.

8. Handling non-network, multi-machine updates

9. Handling non-local returns in WITH-x forms

10. ANN: Non-Rectangular Window Support For Unix/Windows

11. BUG: TCOM-2.2 can't handle non ASCII data

12. q: get window position of a non-tcl-window

 

 
Powered by phpBB® Forum Software