i need help to design a wx-application Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
overbost
In need of some credit
In need of some credit
Posts: 6
Joined: Mon Sep 01, 2008 2:12 pm
Location: Italy
Contact:

i need help to design a wx-application

Post by overbost »

Hi developer,

i need some suggest to design an application.
I need that components:
- menu bar (ok)
- toolbar (ok)
- simple tree
- notebook whit grid (ok)
- status bar

the menu bar and toolbar are on top and are OK
the tree list on the left with fixed weight, expand height
and the notebook on the right, size expand
the status bar on the bottom, always visible

I don't know how use treelist and who component take, and how to use layout or sizers.

I attached a simple picture
Attachments
example.jpg
example.jpg (23.62 KiB) Viewed 1098 times
Laurent22300
Knows some wx things
Knows some wx things
Posts: 30
Joined: Sun Sep 07, 2008 9:38 am
Contact:

Post by Laurent22300 »

Hi,

If you don't know how the layout or the sizers work, I'd suggest you try wxGlade and make it generate C++ code.

This is what I'm using for my wxWidgets project and it was quite helpful at the beginning when I didn't know how to build dialogs by code.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

Laurent22300 wrote:Hi,

If you don't know how the layout or the sizers work, I'd suggest you try wxGlade and make it generate C++ code.

This is what I'm using for my wxWidgets project and it was quite helpful at the beginning when I didn't know how to build dialogs by code.
... or wxFormBuilder.

But i do suggest to spend time reading tutorials and the docs and the wiki, as using tools to relace missing knowledge doesn't take you very far
Laurent22300
Knows some wx things
Knows some wx things
Posts: 30
Joined: Sun Sep 07, 2008 9:38 am
Contact:

Post by Laurent22300 »

Auria wrote:using tools to relace missing knowledge doesn't take you very far
Well I think wxGlade is actually a very useful tool to learn how sizers work and to know which properties are available and how they affect the layout. If you know how to use wxGlade, eventually you'll find it easy to build dialogs by code.

But I agree that you still have to read the doc too.
Post Reply