Add Features and Description:
ScreenWidth()
Returns the width of desktop screen
ScreenHeight()
Returns the height of desktop screen
ScreenModeExist(#width,height,#depth)
Returns true or false... Check if GfxCard support the mode

greetz
MrVainSCL!
Code: Select all
GetSystemMetrics_(#SM_CXSCREEN);
Code: Select all
GetSystemMetrics_(#SM_CYSCREEN);
Code: Select all
lpDevMode.LPDEVMODE
lpDevMode\dmPelsWidth = #width
lpDevMode\dmPelsHeight = #height
lpDevMode\dmBitsPerPel = #depth
lpDevMode\dmFields = #DM_PELSWIDTH|#DM_PELSHEIGHT|#DM_BITSPERPEL
If ChangeDisplaySettings_(@lpDevMode,#CDS_TEST) #DISP_CHANGE_BADMODE
; supported
Else
; not supported
Endif