Reference: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724385(v=vs.85).aspx
Get the width and highth of full screen:
int cx = GetSystemMetrics(SM_CXSCREEN);
int cy = GetSystemMetrics(SM_CYSCREEN);
| The width of the screen of the primary display monitor, in pixels. This is the same value obtained by calling GetDeviceCaps as follows: |
| The height of the screen of the primary display monitor, in pixels. This is the same value obtained by calling GetDeviceCaps as follows: |