case WM_SIZE:
{
WindowSizeX = LOWORD(lParam);
WindowSizeY = HIWORD(lParam);
}
But it seems to create the dimensions including the title bar, I also have a menu and I don’t want this included.
I did some searches earlier and it was suggested that you can use:
GetSystemMetrics(SM_CXFULLSCREEN)
GetSystemMetrics(SM_CYFULLSCREEN)
But as my application is not always full screen I can’t see how that would work,
Cheers for any help.
client screen dimensions (win32 api)
Hi,
I’m wondering if someone could explain how I can get the client area dimensions that im drawing to, as ive tried using
And if you want to make a window with specific client area dimensions, look into AdjustWindowRect.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement