* Originates from George Tasker - thanks again George #define SM_CXSCREEN 0 && Screen width in pixels #define SM_CYSCREEN 1 && Screen height in pixels #define SM_CXFULLSCREEN 16 && Client area width #define SM_CYFULLSCREEN 17 && Client area height DECLARE INTEGER GetSystemMetrics IN Win32API; INTEGER nIndex * Example ? GetSystemMetrics(SM_CXSCREEN) ? GetSystemMetrics(SM_CYSCREEN) ? GetSystemMetrics(SM_CXFULLSCREEN) ? GetSystemMetrics(SM_CYFULLSCREEN)You might not need this and directly use SysMetric in VFP7 and later (previous versions had a bug but I think fixed in VFP7 - returning incorrect result if resolution is changed in between).