Click to See Complete Forum and Search --> : Getting "real" client-area of a FrameWnd


C. Sonntag
May 5th, 1999, 08:56 AM
Hi!

I'm trying to get the size of the "real" client-area of the Framewindow of my MDI-application. That means the rectangle excluding all toolbars, statusbars and the menu.

I would be very pleased if somebody could help me

Regards

C. Sonntag

basem awad
May 5th, 1999, 09:21 AM
Try GetClientRect()

C. Sonntag
May 5th, 1999, 09:55 AM
I'm using GetClientRect(), but that's the client rect only excluding the menu, but not toolbars or statusbars, I'm looking for a way to get the size of the rect where MDI-child-windows can appear independent of the docking status of the toolbars or statusbar.
The function SetWindowPos(...) uses this rect, but I don't know how to get the size of the rect