What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Check whether control is focused

Check whether control is focused
Author: Message:
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. Check whether control is focused
I have an EditControl that, when the text changes, checks whether it's focused (there is a secondary EditControl that does exactly the same). I searched the forums and found the GetFocus function via SetFocus, but the function doesn't seem to have any parameters. What I need to do is something like:

code:
if(Interop.Call('user32','GetFocus',EdtBox.Handle)){
//do stuff
}

Is there some way to do this?
04-11-2010 09:12 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Check whether control is focused - by ryxdp on 04-11-2010 at 09:12 AM
RE: Check whether control is focused - by Matti on 04-11-2010 at 12:42 PM
RE: Check whether control is focused - by ryxdp on 04-11-2010 at 11:59 PM


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