Author Topic: multiple frames  (Read 11083 times)

Offline cppuser

  • Multiple posting newcomer
  • *
  • Posts: 11
multiple frames
« on: June 09, 2026, 11:00:13 pm »
Hello all,
I have a proposal for codeblock devs. I have made a small example,  how to make an application test, in wxwidgets using wxaui, similar to codeblocks to have multiple frames.

To test the code, download the zip file,
inside the folder you have to provide wx3.2.10.zip/tar.bz2  in the root folder.
I am using cmake to build the source code. You need CMake application.
 
I am fan in writing code in multiple screens. And  the state of the codeblocks using wxaui panel are not suitable for manipulating the float panels like a regular window.

The code is not working 100%, I notice a bug in my latest test, when moving a panel to the main window.
Sorry for this, I will upload the another fixed version when I have the time.

I wrote you, all this post,
If you want me try to make codeblock working similar like my example.
The last two months I am slowly reading the codeblock code so I can contribute at some point.
I am not ready yet and I will need a ton of assistant.

Offline cppuser

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: multiple frames
« Reply #1 on: June 09, 2026, 11:09:41 pm »
I forgot to mention that the example works on windows, linux mint and macos.

Offline cppuser

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: multiple frames
« Reply #2 on: Yesterday at 05:57:34 pm »
btw I am happy because someone used it in his/her code

in the wx forum.
https://forums.wxwidgets.org/viewtopic.php?t=52616

 :) :) :) :) :) :)
« Last Edit: Yesterday at 06:08:05 pm by cppuser »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6223
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: multiple frames
« Reply #3 on: Today at 12:43:15 am »
I'd like to(once have a plan several years ago) create another frame which contains the cbEditors control. Because I'd like to use the C::B editor in a second desktop screen. But it is hard to implement, because it has to manage the index and other things for the cb editor management.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.