- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to Re-size an MDI frame client wnd in order to leave place for the status bar and "sibling controls"...
Subclassing perhaps?
Subclassing perhaps?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Normally, you should just handle WM_SIZE in the parent window; there, you should find rects of sibling controls and "subtract" them from the frame's client area. In this way, you get the size of MDI client window. See my QWToolbar sample. (I was lazy to move the status bar there as well so it remained hidden beneath the MDI client, but you can see the principle).
Jugoslav
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks Jugoslav.
agostino
agostino

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page