A
Anders Zuschlag
Hey
Can anyone figure out how this problem can be solved:
I want to use the "setcursorpos"-api (or anything else!) to put the cursor
on a specific control (cmdbuttom) on a form. The form is not maximized and
user can have placed it anywhere on the screen. I can ofcourse find out
which resolution the user is using on his pc, but will that solve my
problem? The getcursorpos returns the cursor position in pixels, and the
setcursorpos uses also these pixels - ex. 1024x768. In access, when i fex.
uses msgbox mycmdbutton.left, I am not getting result in pixels but in ?
something about 15 times the 1024.
Please help.
Can anyone figure out how this problem can be solved:
I want to use the "setcursorpos"-api (or anything else!) to put the cursor
on a specific control (cmdbuttom) on a form. The form is not maximized and
user can have placed it anywhere on the screen. I can ofcourse find out
which resolution the user is using on his pc, but will that solve my
problem? The getcursorpos returns the cursor position in pixels, and the
setcursorpos uses also these pixels - ex. 1024x768. In access, when i fex.
uses msgbox mycmdbutton.left, I am not getting result in pixels but in ?
something about 15 times the 1024.
Please help.