December 05, 2003 How to prevent an MDIChildFrame from being resized? | ||||
---|---|---|---|---|
| ||||
Hi, I've got an irritating problem with an MDIChildFrame-derived window but I have to say I'm a newbie to wxWindows so don't be too hard on me :-) Ideally, I'd like to prevent this frame from being resized. Unfortunately, there doesn't seem to be an adequate style option. So I've added EVT_SIZE(MyChildFrame::OnSize) to the class event table and created a callback method void MyChildFrame::OnSize(wxSizeEvent&) but this only gets called AFTER the window has been resized, i.e., too late... Any ideas? Cheers, Patrice |
Copyright © 1999-2021 by the D Language Foundation