What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Call SystemParametersInfo

[Question] Call SystemParametersInfo
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [Question] Call SystemParametersInfo
My next problem is one regarding the SystemParametersInfo Function (Windows).

I got the code
code:
var SPI_GETWORKAREA = 48;
var intScreenX, intScreenY;
// some code not found out yet
Interop.Call("user32", "SystemParametersInfo", SPI_GETWORKAREA, 0, outRect, 0);
// some code not found out yet
Debug.Trace(intScreenX + ", " + intScreenY);

Should return the desktop size minus taskbar etc. (in difference to Interop.Call('user32','GetSystemMetrics',0x4e);).
Anybody wants to help me out in this regard as how to solve it?
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
01-17-2008 04:58 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Call SystemParametersInfo - by mynetx on 01-17-2008 at 04:58 PM
RE: [Question] Call SystemParametersInfo - by Matti on 01-17-2008 at 05:24 PM
RE: [Question] Call SystemParametersInfo - by mynetx on 01-17-2008 at 05:33 PM


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