Page 1 of 1

Posted: Sun Nov 10, 2002 10:51 am
by BackupUser
Restored from previous forum. Originally posted by hkey.

Aren't there any systemvariables in Purebasic to get the screenwidth and screenheight? I want to place a little window in the upper right corner of the screen. That would be no problem, if I knew the screenwidth...

Posted: Sun Nov 10, 2002 11:01 am
by BackupUser
Restored from previous forum. Originally posted by Froggerprogger.

You can use the API GetSystemMetrics_(), but I haven't the Parameters in mind - only the Parameter #CXSCREEN or #CYSCREEN, but not the others. Look up in the WIN32.HLP

Purebasic - what a nice name for a girl-friend

Posted: Sun Nov 10, 2002 11:07 am
by BackupUser
Restored from previous forum. Originally posted by fweil.

...,

GetSystemMetrics_(#SM_CXScreen) and GetSystemMetrics_(#SM_CYScreen) is the right syntax for using API.

Rgrds

Francois Weil
14, rue Douer
F64100 Bayonne

Posted: Tue Jul 22, 2003 1:39 pm
by sybixsus
At the risk of looking stupid ( it's a risk I take every time I open my mouth ) where should I download Win32.hlp?

Posted: Tue Jul 22, 2003 1:51 pm
by Saboteur
Here is one location:

ftp://ftp.cs.virginia.edu/pub/lcc-win32/win32hlp.exe

Perhaps there are some other more recent. But you can look at msdn too.