Friday, May 16, 2014

Get users screen resolution

Get users screen resolution
int screenWidth, screenHeight;
#WinAPI
//get the user resolution
screenWidth = WinAPI::getSystemMetrics(#SM_CXSCREEN);
screenHeight = WinAPI::getSystemMetrics(#SM_CYSCREEN);


No comments:

Post a Comment