Is it possible on WxWidgets, resize the main window application, dragging with the cursor on border, and automatically resize all objects inside? Or maximize on the icon maximize windows and resize all objects?
Other doubt, I'm setting style of framewhitout the windows borders, but the apliction stay fixed on the screen, don't drageable by the cursor mouse...
PS: my app it's almost ready.... I'm very happy and thanks all the guys of forum that return my begginers doubts...
Resizing windows wxFrame
-
- Experienced Solver
- Posts: 56
- Joined: Sun May 05, 2019 7:12 am
Re: Resizing windows wxFrame
yes. read about wxSizer. and/or wxAuiManager.
sizer is an invisible "container" for windows, inserted in him, and he also can be inserted in another sizer. if sizer changes his size, he changes size of windows, he contains, according to strategy given at particular window addition to this sizer. etc.
but if you need more sophisticated look - read about wxAuiManager.
sizer is an invisible "container" for windows, inserted in him, and he also can be inserted in another sizer. if sizer changes his size, he changes size of windows, he contains, according to strategy given at particular window addition to this sizer. etc.
but if you need more sophisticated look - read about wxAuiManager.
ubuntu 20.04, wxWidgets 3.2.1
Re: Resizing windows wxFrame
Hi,
You should also check the layout sample - build it, run it and see how and what different layout can give to you.
Thank you.
You should also check the layout sample - build it, run it and see how and what different layout can give to you.
Thank you.
-
- Experienced Solver
- Posts: 56
- Joined: Sun May 05, 2019 7:12 am
Re: Resizing windows wxFrame
Oh, I think that I explain wrong my doubt. Follow the image bellow,
I need move frame that has no Windows title bar.
I have only a wxMenuBar.
I need drag menuBar whit the mouse, and togheter drag the frame, changing the position of app in the screen... it's difficult
I need move frame that has no Windows title bar.
I have only a wxMenuBar.
I need drag menuBar whit the mouse, and togheter drag the frame, changing the position of app in the screen... it's difficult
- Attachments
-
- menubar.jpg (18.85 KiB) Viewed 765 times
Re: Resizing windows wxFrame
Hi,
You should make wxFrame class with the title. I don't think moving TLW by the menu bar is supported by any OS around - that's why there is a title.
Thank you.
You should make wxFrame class with the title. I don't think moving TLW by the menu bar is supported by any OS around - that's why there is a title.
Thank you.