earlrainer
Programmer
Hi guys
I wish to get the Tpoint of the place on the form where the focus is at the moment.
for example I can get the Tpoint of the place where i have the mouse cursor by
GetCursorPos(p);
where p is of type Tpoint.
but i dont know how to get the above with the place where the keyboard focus is.
(one way to do that would be to move the mouse cursor to same place where keyboard focus is ..but i dont know to do that either.)
Can you guys help me
& sorry for the bad explanation of the problem...but hope you understand what i want to do.
Bye
I wish to get the Tpoint of the place on the form where the focus is at the moment.
for example I can get the Tpoint of the place where i have the mouse cursor by
GetCursorPos(p);
where p is of type Tpoint.
but i dont know how to get the above with the place where the keyboard focus is.
(one way to do that would be to move the mouse cursor to same place where keyboard focus is ..but i dont know to do that either.)
Can you guys help me
& sorry for the bad explanation of the problem...but hope you understand what i want to do.
Bye