Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

ScrollingDialog

<< < (5/5)

Jenna:

--- Quote from: Rossifumi on February 10, 2011, 08:18:56 pm ---1) i compiled the project in debug and releas mode, both, with the same error...is this that you mean with "debug version of wxWidgets"?

--- End quote ---
You link against a debug library of wxWidgets, that's normally only needed if you want to debug wxWidgets itself.

--- Quote from: Rossifumi on February 10, 2011, 08:18:56 pm ---2) Yes i use wxWidgets 2.9.1, how can i obtain a scrolledwindow so?

--- End quote ---

--- Quote from: dmoore on February 09, 2011, 05:26:00 pm ---
--- Quote from: jens on February 09, 2011, 02:59:10 pm ---It should work as for "real" wxDialogs.
We use it for almost all dialogs in C::B and it works correctly there (as far as I know).

--- End quote ---
Is this going to be redundant soon? http://docs.wxwidgets.org/trunk/overview_dialog.html#overview_dialog_autoscrolling

--- End quote ---

--- Quote from: Rossifumi on February 10, 2011, 08:18:56 pm ---3)I think that the height of all child-elemnts is ofcourse greater than the maxsize...in other way i don't need a scroll....

--- End quote ---
You misunderstood what a wxScrollingDialog does:
It's a drop-in replacement for wxDialog, that automatically adds scrollbars (and makes sure that standard buttons are always visible) if the dialog is larger than the screensize.
It's designed to make sure that all parts of a dialog are reachable on small screens like netbooks have.
See here: http://www.anthemion.co.uk/code.htm#scrollingdialog

Maybe it would be enough to use a wxScrolledWindow directly (I never did it), but we leave the scope of this forum here and should stop the discussion !

Rossifumi:
Ok...thanks for the suggestions...

Navigation

[0] Message Index

[*] Previous page

Go to full version