[futurebasic] Re: Display Manager Calls

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1998 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Tue, 26 May 1998 14:09:26 +1200
>Also as a side question, how do I find the current state of the monitor
>(for switching back) specifically the length, width and bit depth?

Try this:-

LOCAL FN GetScreenParameters
 DIM pmHand&
 pmHand&=[[FN GETMAINDEVICE]+22]
 gScrnHeight={[pmHand&]+_Pmbounds+4}
 gScrnWidth={[pmHand&]+_Pmbounds+6}
 gScrnDepth={[pmHand&]+_Pmpixelsize}
END FN

Robert