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:
TheGuruSupremacy
Full Member
***

Avatar

Posts: 367
Reputation: 19
34 / Male / Flag
Joined: Nov 2006
O.P. RE: RE: GetWindowPlacement api
quote:
Originally posted by SpunkyLoveMuff
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)

debug log:
Funzione chiamata: OnEvent_Timer
4654408
2557932
> .showCmd : 1
> .showCmd : Opened
False
Funzione chiamata: OnEvent_Timer
4654408
2557932
> .showCmd : 3
> .showCmd : Maximized
False
Funzione chiamata: OnEvent_Timer
4654408
2557932
> .showCmd : 1
> .showCmd : Opened     //THE WINDOW WAS MINIMIZED
False

however yes i know about the var...DO YOU TESTING THE CODE ON A CHATWND OR ON ANOTHER WINDOW??...BECAUSE I HAVE ALSO TESTED  ON ANOTHER WINDOW AND IT  WORKED...tHE CODE DON'T WORK ONLY ON CHATWND

This post was edited on 12-20-2006 at 05:20 PM by TheGuruSupremacy.
12-20-2006 05:17 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