04-18-2010, 09:01 PM
Hi!
I use the below function many times.
int x y
int h=GetCaretXY(x y)
to get caret coordinates in "Microsoft word 2003 on my windows XP"
The (h,x, y) are alway (0, 0, 0).
It is relative to screen and works for Notepad, however.
I search on the internet for a long time
The problem seems that after GetGUIThreadInfo
the g.hwndCaret =0, g.rcCaret.left .... are not exist.
Can QM experts help me, please!
I use the below function many times.
int x y
int h=GetCaretXY(x y)
to get caret coordinates in "Microsoft word 2003 on my windows XP"
The (h,x, y) are alway (0, 0, 0).
It is relative to screen and works for Notepad, however.
I search on the internet for a long time
The problem seems that after GetGUIThreadInfo
the g.hwndCaret =0, g.rcCaret.left .... are not exist.
Can QM experts help me, please!
