Page 1 of 1

retrieve resoplution video

Posted: Wed Jan 21, 2026 5:02 pm
by richard wilson

how can i retrieve resolution at begunning of my application like 1027X768

Thanks


Re: retrieve resoplution video

Posted: Wed Jan 21, 2026 7:18 pm
by Antonio Linares

#define SM_CXFULLSCREEN 16
#define SM_CYFULLSCREEN 17

function ScreenWidth()

return GetSysMetrics( SM_CXFULLSCREEN )

function ScreenHeight()

return GetSysMetrics( SM_CYFULLSCREEN )