03-10-2007, 06:09 PM
Thanks you, Gintaras. I'll give it a shot. The lines that did "not make sense" were attempts to see what happened using what I thought were your responses to my earlier question:
"To get the handle of the active window or window under the mouse pointer,
use function win.
" int hwndActive
int hwndMouse
hwndActive=win()
hwndMouse=win(mouse)"
As you remarked, I could find nothing in help re win(mouse). Furthermore, every time I included it in a trial macro the "mouse" greyed out. However, I shall try it again, minus my non-sensical lines, and see what happens. Thanks again.
"To get the handle of the active window or window under the mouse pointer,
use function win.
" int hwndActive
int hwndMouse
hwndActive=win()
hwndMouse=win(mouse)"
As you remarked, I could find nothing in help re win(mouse). Furthermore, every time I included it in a trial macro the "mouse" greyed out. However, I shall try it again, minus my non-sensical lines, and see what happens. Thanks again.