Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Problem with ScrollBar and multiple controls
Re: Problem with ScrollBar and multiple controls [message #52034 is a reply to message #52023] Tue, 09 July 2019 08:20 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ultimatecoding wrote on Sat, 06 July 2019 23:07
Thank you for your reply and the explanation.

mirek wrote on Thu, 04 July 2019 10:58
You can definitely achieve what you want, you just need to place widgets relatively to view and eventually just hide / show those that are out of range.

That's the workaround I've found. It seems to work correctly for regular controls, but when I try to add an OpenGL control, such as the one used here https://www.ultimatepp.org/reference$OpenGL$en-us.html, the part of the control that should be hidden as I scroll is actually drawn on top of any other controls, such as menu bars or tool bars. It looks like it's constrained only by the window itself. Is it possible to have multiple OpenGL controls that would be scrollable without that side-effect?


Well, OpenGL is sometimes tricky. What is your platform?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: capture mouse and limit all events to window
Next Topic: Deleting Ctrl from within itself
Goto Forum:
  


Current Time: Thu Apr 25 23:04:53 CEST 2024

Total time taken to generate the page: 0.03025 seconds