What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [questions] CreateChildWnd

[questions] CreateChildWnd
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [questions] CreateChildWnd
quote:
Originally posted by mathieumg
I read somewhere in the doc that if you recreate the same window (with the same id, etc.) and it is already opened, it will just put the focus on it. I can't find where in the doc I saw that though...

to do that you need to do something like


code:
focusWindow(wnd.Handle);

function focusWindow(hwnd){
    Interop.Call('User32','BringWindowToTop',hwnd);
    Interop.Call('User32','ShowWindow',hwnd , 1);
}



[Image: dt2.0v2.png]      Happy Birthday, WDZ
06-26-2006 12:09 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[questions] CreateChildWnd - by cooldude_i06 on 06-25-2006 at 09:32 PM
RE: [questions] CreateChildWnd - by matty on 06-25-2006 at 09:35 PM
RE: [questions] CreateChildWnd - by -dt- on 06-25-2006 at 09:38 PM
RE: [questions] CreateChildWnd - by cooldude_i06 on 06-25-2006 at 10:00 PM
RE: [questions] CreateChildWnd - by matty on 06-25-2006 at 10:04 PM
RE: [questions] CreateChildWnd - by cooldude_i06 on 06-25-2006 at 10:10 PM
RE: [questions] CreateChildWnd - by mathieumg on 06-25-2006 at 10:14 PM
RE: [questions] CreateChildWnd - by cooldude_i06 on 06-25-2006 at 10:19 PM
RE: [questions] CreateChildWnd - by -dt- on 06-26-2006 at 12:09 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