Pierwszy sposób:
int x = GetSystemMetrics(SM_CXSCREEN); int y = GetSystemMetrics(SM_CYSCREEN);
int x = Screen->Width; int y = Screen->Height;