void GetPrimaryScreenSizeInPixels( SIZE& s)
{
// Start With Nothing
ZeroMemory( &s, sizeof(SIZE) );
// Get Width/Height
s.cx = (LONG)::GetSystemMetrics( SM_CXFULLSCREEN );
s.cy = (LONG)::GetSystemMetrics( SM_CYFULLSCREEN );
}
int XRes = GetSystemMetrics(SM_CXFULLSCREEN); int YRes = GetSystemMetrics(SM_CYFULLSCREEN);
Menu.DrawBox(0,0,XRes,25,5,0x960000FF,0xFF000000,0xFF000000,pDevice);
ive had something like this befour its the same concept(kinda but thanks)




