What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Always on top window

Always on top window
Author: Message:
CZFilip
New Member
*


Posts: 4
Reputation: 1
Joined: Aug 2008
O.P. Happy  Always on top window
Hello, is possible to create always on top window? Thanks for response :P

This post was edited on 08-16-2008 at 08:22 PM by CZFilip.
08-16-2008 08:21 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Always on top window
it is possible..
code:
//thx to vikke
Interop.Call("user32", "SetWindowPos", PlusWnd.Handle, -1 /*HWND_TOPMOST*/, 0, 0, 0, 0, 0x02 | 0x01);

change the "-1" to "-2" to turn off always on top.

This post was edited on 08-16-2008 at 09:21 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
08-16-2008 09:19 PM
Profile PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Always on top window
Or do it the proper way in the window XML:

code:
<Window Id="...">
    <Attributes>
        <TopMost>true</TopMost>
    </Attributes>
</Window>

08-16-2008 09:23 PM
Profile PM Find Quote Report
« 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