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

GetWindowPlacement api
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: GetWindowPlacement api
If it always returns 3 or 1, then thats got to be what Windows is reporting it as.

I got this in my debug window when testing:
code:
Script has been stopped
Script is starting
Script is now loaded and ready
> .showCmd : 1
> .showCmd : Opened
Script has been stopped
Script is starting
Script is now loaded and ready
> .showCmd : 3
> .showCmd : Maximized
Script has been stopped
Script is starting
Script is now loaded and ready
> .showCmd : 2
> .showCmd : Minimized

The function works fine (except the var in the above codes you have posted is called WindowPlacment not WindowPlacement)

EDIT: This also mean the if statement I suggested would work (except for if it encountered an error and returned 0)

This post was edited on 12-20-2006 at 05:05 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
12-20-2006 05:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 04:32 PM
RE: GetWindowPlacement api - by Matti on 12-20-2006 at 04:40 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 04:49 PM
RE: RE: GetWindowPlacement api - by CookieRevised on 12-20-2006 at 07:36 PM
RE: RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 09:21 PM
RE: GetWindowPlacement api - by Spunky on 12-20-2006 at 04:44 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 04:53 PM
RE: GetWindowPlacement api - by Spunky on 12-20-2006 at 04:50 PM
RE: GetWindowPlacement api - by Spunky on 12-20-2006 at 05:03 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 05:17 PM
RE: GetWindowPlacement api - by Spunky on 12-20-2006 at 05:29 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 05:36 PM
RE: GetWindowPlacement api - by Spunky on 12-20-2006 at 05:43 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-20-2006 at 05:47 PM
RE: GetWindowPlacement api - by CookieRevised on 12-20-2006 at 09:49 PM
RE: RE: GetWindowPlacement api - by TheGuruSupremacy on 12-21-2006 at 10:27 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