Shoutbox
latest posts
member list
search
rules
contact
login
|
register
|
shoutbox
What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox
»
MsgHelp Archive
»
Messenger Plus! for Live Messenger
»
Scripting
» get chat window cursor position
get chat window cursor position
Author:
Message:
deAd
Scripting Contest Winner
Posts: 1060
Reputation:
28
– /
/
Joined: Jan 2006
O.P.
get chat window cursor position
Is it possible to get the cursor position in the chat window input box, like Plus! does to create the Quick Icons window?
03-25-2007 02:24 AM
matty
Scripting Guru
Posts: 8336
Reputation:
109
39 /
/
Joined: Dec 2002
Status:
Away
RE: get chat window cursor position
GetCaretPos()
03-25-2007 02:36 AM
deAd
Scripting Contest Winner
Posts: 1060
Reputation:
28
– /
/
Joined: Jan 2006
O.P.
RE: get chat window cursor position
That works on the windowless control?
03-25-2007 02:37 AM
matty
Scripting Guru
Posts: 8336
Reputation:
109
39 /
/
Joined: Dec 2002
Status:
Away
RE: get chat window cursor position
You will likely need to use ActiveAccessibility to get the handle of the Edit box. Then use GetCaretPos().
03-25-2007 02:39 AM
deAd
Scripting Contest Winner
Posts: 1060
Reputation:
28
– /
/
Joined: Jan 2006
O.P.
RE: get chat window cursor position
The edit box has no handle, it's windowless...
03-25-2007 02:40 AM
matty
Scripting Guru
Posts: 8336
Reputation:
109
39 /
/
Joined: Dec 2002
Status:
Away
RE: get chat window cursor position
quote:
Originally posted by deAd
The edit box has no handle, it's windowless...
ActiveAccessibility will be able to get one.
However I forgot that GetCaretPos() is an API and not a message that needs to be sent to a specific control.
03-25-2007 02:51 AM
«
Next Oldest
Return to Top
Next Newest
»
Threaded Mode
|
Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe
|
Add to Favorites
Rate This Thread:
Select Rating...
5 ... Best
4
3 ... Average
2
1 ... Worst
Forum Jump:
Please select one:
--------------------
Latest Posts
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Open Forum
Forum Rules:
You
cannot
post new threads
You
cannot
post replies
You
cannot
post attachments
You
can
edit your posts
HTML is
Off
myCode is
On
Smilies are
On
[img] Code is
On