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

Always On Top
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Always On Top
Making a game (I know, exciting ain't it?) and I've got an interface window open that I want to stay visible above the chat window so that you can type commands and see the outcome at the same time.

Any idea if there is an API to do this, or something similar?

It's not like gonna be a fantastic game btw, but I haven't seen many (any?) around on here yet so I thought I'd give it a bash :p
<Eljay> "Problems encountered: shit blew up" :zippy:
08-26-2006 09:13 AM
Profile PM Find Quote Report
KnRd_WC
Junior Member
**

Avatar
Florian PAQUET

Posts: 74
Reputation: 1
35 / Male / Flag
Joined: Aug 2006
RE: Always On Top
Hi SpunkyLoveMuff !

code:
// Top :
Interop.Call("User32.dll","SetWindowPos",WndHandle,-1,0,0,0,0,19);
//Reset :
Interop.Call("User32.dll","SetWindowPos",WndHandle,-2,0,0,0,0,19);

You can use too, in your XML file :
code:
<Window><Attributes><TopMost>true</TopMost></Attributes></Window>

;)
08-26-2006 10:28 AM
Profile PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RE: Always On Top
Thanks :D (big gay hug ;))
<Eljay> "Problems encountered: shit blew up" :zippy:
08-26-2006 10:28 AM
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