|  [Question] Plus window focus | 
| Author: | 
Message: | 
mynetx 
Skinning Contest Winner 
     
  
  
Microsoft insider
  
Posts: 1175 Reputation: 33 
38 /   /   
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.
 |   
 | 
| 01-16-2008 05:48 PM | 
 | 
  | 
pollolibredegrasa 
Full Member 
   
  
  
formerly fatfreechicken
  
Posts: 483 Reputation: 34 
36 /   /   
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 
 
  Vaccy is my thin twin! ![[Image: chickennana.gif]](http://shoutbox.menthix.net/images/smilies/chickennana.gif)   
 |   
 | 
| 01-16-2008 05:54 PM | 
 | 
  | 
mynetx 
Skinning Contest Winner 
     
  
  
Microsoft insider
  
Posts: 1175 Reputation: 33 
38 /   /   
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.
 |   
 | 
| 01-16-2008 05:56 PM | 
 | 
  | 
Spunky 
Former Super Mod 
     
  
  
 
Posts: 3656 Reputation: 61 
37 /   /   
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"    
 |   
 | 
| 01-16-2008 05:58 PM | 
 | 
  | 
mynetx 
Skinning Contest Winner 
     
  
  
Microsoft insider
  
Posts: 1175 Reputation: 33 
38 /   /   
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 | 
 | 
  | 
warmth 
Veteran Member 
     
  
  
Electronic Engineer
  
Posts: 1730 Reputation: 26 
40 /   /   
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 | 
 | 
  | 
Dempsey 
Scripting Contest Winner 
     
  
  
http://AdamDempsey.net
  
Posts: 2395 Reputation: 53 
39 /   /   
Joined: Jul 2003 
 | 
 | 
| 01-16-2008 06:19 PM | 
 | 
  | 
mynetx 
Skinning Contest Winner 
     
  
  
Microsoft insider
  
Posts: 1175 Reputation: 33 
38 /   /   
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.  
 |   
 | 
| 01-16-2008 06:23 PM | 
 | 
  | 
warmth 
Veteran Member 
     
  
  
Electronic Engineer
  
Posts: 1730 Reputation: 26 
40 /   /   
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 | 
 | 
  | 
mynetx 
Skinning Contest Winner 
     
  
  
Microsoft insider
  
Posts: 1175 Reputation: 33 
38 /   /   
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? 
 |   
 | 
| 01-17-2008 02:06 PM | 
 | 
  | 
| 
Pages: (2): 
« First
  
 [ 1 ]
 2
 
»
 
Last »
 | 
| 
 |