Page 1 of 1
Width and Height of 3d Screen ?
Posted: Fri May 16, 2003 10:09 pm
by WolfgangS
HI !
How can i figure out the actual height/width and depth of my actual 3d Screen or window ?
MFG
WolfgangS
Posted: Sat May 17, 2003 12:25 am
by VPureBasic
Hi WolfgangS,
Try my little library... ScreenEx.zip at the Resource Site! You gonna find three usefull functions for your screen info:
The Syntax Are:
Width.l = ScreenWidth()
Height.l = ScreenHeight()
Depth.l = ScreenDepth()
And...
Bool = IsScreenMode( Width, Height, Depth )
SetScreenMode()
ResetScreenMode()
Roger
Posted: Sat May 17, 2003 9:35 pm
by WolfgangS
HI
Thank you VPurebasic !
I figured out a more sleeky solution
Instet of the "Result" (handle of the Screen oder ScreenedWindow) i give back a STRUCTURE with all releated infos about my output screen/window.
Code: Select all
Structure Screen3dRequester
width.l
height.l
depth.l
hndscreen.l
hndwindow.l
EndStructure
This saves me to use a external library ...
Maybe i will write an extended Screen3drequester with chooseable depth ..
MFG
WolfgangS