What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Get Handle of Textbox from non-plus window.

Get Handle of Textbox from non-plus window.
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Get Handle of Textbox from non-plus window.
If the cursor is active, you could just try using SendKeys sort of thing, but thats a bit messy.  An example is:  Matty's reply to hWnd of IMWindowClass chat input box

I dont think you can directly use FindWindow and FindWindowEx to retrieve the handle, as Messenger windows are all wrapped in a DirectUIHWND or something.

I *think* you can retireve it using Active Accesability, but if all want the handle for is to set the text, then it will definatley work, you can see this example in Visual Basic:  Matty's reply to Active Accessibility for incoming messages
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-18-2006 07:11 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Get Handle of Textbox from non-plus window. - by b0rna on 08-18-2006 at 04:43 AM
RE: Get Handle of Textbox from non-plus window. - by Dempsey on 08-18-2006 at 07:11 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

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