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

Pages: (2): « First [ 1 ] 2 » Last »
[Question] Plus window focus
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [Question] Plus window focus
When I create a Plus window, it gets the focus.
How to give the focus automatically back to the window which had it before, or, better, don't give the focus to the plus window at all?

This post was edited on 01-17-2008 at 02:07 PM by mynetx.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-16-2008 05:48 PM
Profile E-Mail PM Web Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: [Quesion] Plus window focus
Is this what you're looking for?

code:
MsgPlus.CreateWnd("Interfaxe.xml","WindowName",2);

quote:
Originally posted by Scripting Docs

[number,optional] If specified, this parameter can be one of the following numbers:

WNDOPT_NOACTIVATE (2)
Don't activate the window after its creation


This post was edited on 01-16-2008 at 05:56 PM by pollolibredegrasa.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
01-16-2008 05:54 PM
Profile PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [Quesion] Plus window focus
Thanks.

Is there anywhere a documentation of those CreateWnd parameters?

This post was edited on 01-16-2008 at 05:58 PM by mynetx.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-16-2008 05:56 PM
Profile E-Mail PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Quesion] Plus window focus
quote:
Originally posted by Scripting Docs - MsgPlus.CreateWnd

Options
[number,optional] If specified, this parameter can be one of the following numbers:

0 - Display the window normally (default).
1 - Don't automatically show the window after it's been created.
2 - Don't activate the window after its creation.


So it would be

code:
var Wnd = MsgPlus.CreateWnd("Interface.xml","WndTest",2 /* or 1 */);

<Eljay> "Problems encountered: shit blew up" :zippy:
01-16-2008 05:58 PM
Profile PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [Quesion] Plus window focus
kk. Thanks @ all ^^
In some days, there will be a new script :)
01-16-2008 06:01 PM
Profile E-Mail PM Web Find Quote Report
warmth
Veteran Member
*****

Avatar
Electronic Engineer

Posts: 1730
Reputation: 26
39 / Male / Flag
Joined: Jul 2003
RE: [Quesion] Plus window focus
quote:
Originally posted by mynetx
kk. Thanks @ all ^^
In some days, there will be a new script :)
sorry that I ask... what about???
@warmth - Beta Testing a life!
Official Nokia (former Ovi) Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011)
01-16-2008 06:09 PM
Profile PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: [Quesion] Plus window focus
quote:
Originally posted by mynetx
documentation of those CreateWnd parameters?
http://mpscripts.net/docs.php?p=ref-msgplus-createwnd.htm
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
01-16-2008 06:19 PM
Profile E-Mail PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [Quesion] Plus window focus
quote:
Originally posted by warmth
sorry that I ask... what about???
About received URL links in chats.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-16-2008 06:23 PM
Profile E-Mail PM Web Find Quote Report
warmth
Veteran Member
*****

Avatar
Electronic Engineer

Posts: 1730
Reputation: 26
39 / Male / Flag
Joined: Jul 2003
RE: [Quesion] Plus window focus
quote:
Originally posted by mynetx
About received URL links in chats.
ah ok... nice... I hope to see new features over the existing script about that...
@warmth - Beta Testing a life!
Official Nokia (former Ovi) Suite Beta Tester | Nokia Beta Labs Contributor of the month (June, 2011)
01-16-2008 06:55 PM
Profile PM Web Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. RE: [Quesion] Plus window focus
So MsgPlus.CreateWnd(strFile, strWindowId, 2); creates a non-activated window.
But what if I create the window in advance with ....., 1);, and then use objPlusWnd.Visible = true; ?

The changing of the window property "Visible" to true gives the window the focus. How to show the window (and move it to top), but leave the focus in the window which had it before?
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-17-2008 02:06 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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:

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