Make wxDialog scrollable?

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Wanderer82
Earned some good credits
Earned some good credits
Posts: 127
Joined: Tue Jul 26, 2016 2:00 pm

Re: Make wxDialog scrollable?

Postby Wanderer82 » Sat Mar 31, 2018 10:35 pm

Hm, think I got another solution, although it doesn't make me a 100% happy. I could just always show only the vertical scrollbar even if I don't need it. This way I don't have to use two different designs. But I always see the scrollbar.

User avatar
doublemax
Moderator
Moderator
Posts: 12507
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Make wxDialog scrollable?

Postby doublemax » Sat Mar 31, 2018 10:43 pm

Unfortunately there is no nice solution for this. Usually you would use a column-based list control for this, but seeing how much you've already done, i understand that you don't want to rewrite everything.
Use the source, Luke!

Wanderer82
Earned some good credits
Earned some good credits
Posts: 127
Joined: Tue Jul 26, 2016 2:00 pm

Re: Make wxDialog scrollable?

Postby Wanderer82 » Sat Mar 31, 2018 10:50 pm

Well I did it using the GUI from Code::Blocks, so no big deal doing it again. But I'm getting comfortable with my solution to always show the scollbars ;-)

With these column-based list controls... can I put blanks there to make space? And can I also draw the line across the entire list even though I have columns?

User avatar
doublemax
Moderator
Moderator
Posts: 12507
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Make wxDialog scrollable?

Postby doublemax » Sat Mar 31, 2018 11:22 pm

With "column-based list controls" i mean controls like wxListCtrl, wxDataViewCtrl or wxGrid. Although in your case only wxGrid would be suitable. This would require a major rewrite of your code.
Use the source, Luke!


Return to “Compiler / Linking / IDE Related”

Who is online

Users browsing this forum: Google [Bot] and 6 guests