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

[?] "WindowState" API
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: [?] "WindowState" API
GetWindowPlacement

Create a DataBloc object (Interop.Allocate) for the WINDOWPLACEMENT structure.
code:
var WINDOWPLACEMENT = Interop.Allocate(44);
WINDOWPLACEMENT.WriteDWORD(0, WINDOWPLACEMENT.Size);
var Result = Interop.Call("User32", "GetWindowPlacement", Messenger.ContactListWndHandle, WINDOWPLACEMENT.DataPtr);
if(Result) Debug.Trace(WINDOWPLACEMENT.ReadDWORD(8));

This post was edited on 10-06-2007 at 02:51 AM by phalanxii.
10-06-2007 02:28 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] "WindowState" API - by roflmao456 on 10-06-2007 at 02:20 AM
RE: [?] "WindowState" API - by phalanxii on 10-06-2007 at 02:28 AM
RE: [?] "WindowState" API - by roflmao456 on 10-06-2007 at 03:05 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