wxWidgets Linux GCC, how to add scroll bar into wxFrame

My application has a GUI, it first reads a initialization file and then decides how many control objects (e.g., wxTextCtrl, wxToggleButton, etc.) need to be added to a wxFrame. When there are too many objects on the wxFrame, some objects are out of visible boundary, i.e., they are on the wxFrame, but user can not see them.

I am wondering whether it is possible to add a vertical and a horizontal scroll bar into wxFrame.

Thanks.

Answers


You should not add controls to a wxFrame. The wxFrame can be used to hold windows, including scrolled windows, on which controls can be placed.

Take a look at some of the sample apps in the distribution to see how this works.


Need Your Help

image zoom with caption css not working

css image zoom

Hi I am using the following code to create an image zoom effect with a caption that appears on mouse over, for some reason it is not working as expected

CSS expression crashing the browser

internet-explorer browser internet-explorer-6 css

In my website, I want the body tag to have a minimum width of 640px. Thing is, IE6 doesn't recognize min-width, so I'm trying to fix this with a CSS expression in my IE6 stylesheet:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.