L
Lorenz H?lscher
Hi everyone,
I'm looking for the lower left position of a given button on a Word
vba form as mouse coordinates (not the .left/.top properties!) so that
the following code fragment could work:
Call GetWindowRect(myHWND, Rec)
SetCursorPos Rec.Left, Rec.Top
First challenge could be to get the button's window handle. Maybe it
doesn't have one (though listboxes do have) as I found out until now.
Anyone got a nice idea?
Thanx, Lorenz
I'm looking for the lower left position of a given button on a Word
vba form as mouse coordinates (not the .left/.top properties!) so that
the following code fragment could work:
Call GetWindowRect(myHWND, Rec)
SetCursorPos Rec.Left, Rec.Top
First challenge could be to get the button's window handle. Maybe it
doesn't have one (though listboxes do have) as I found out until now.
Anyone got a nice idea?
Thanx, Lorenz