Re: [GD-Windows] (no subject)
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2003-03-29 21:29:29
|
Off the top of my head: HDC hDC =3D GetDC( GetDesktopWindow() ); int bitspixel =3D GetDeviceCaps( hDC, BITSPIXEL ); ReleaseDC( GetDesktopWindow(), hDC ); On Sat, 29 Mar 2003 23:20:37 +0200, Doru Stoenescu wrote: >Hello and welcome to my first post on this list: > >how do you obtain the current color depth? I managed to obtain= current width and height of the screen using the = GetSystemMetrics but I seem to have no solution for the BPP. > >Can anyone help me? > >thx > |