FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour retrieve resoplution video
Posts: 40
Joined: Sat Mar 04, 2006 03:32 PM

retrieve resoplution video

Posted: Wed Jan 21, 2026 05:02 PM

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

Thanks

Posts: 44235
Joined: Thu Oct 06, 2005 05:47 PM

Re: retrieve resoplution video

Posted: Wed Jan 21, 2026 07:18 PM

#define SM_CXFULLSCREEN 16 #define SM_CYFULLSCREEN 17

function ScreenWidth()

return GetSysMetrics( SM_CXFULLSCREEN )

function ScreenHeight()

return GetSysMetrics( SM_CYFULLSCREEN )

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion