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 #52036 is a reply to message #52003] Wed, 10 July 2019 17:20 Go to previous message
ultimatecoding is currently offline  ultimatecoding
Messages: 4
Registered: July 2019
Junior Member
I was testing that on Windows 10.

I can think of two solutions:
  1. Decrease the height of the OpenGL control as it goes off-screen while trying to prevent its content from moving/resizing.
  2. Use just one OpenGL control with several vertical sections and try to synchronize it with the scroll bar.

Another option would be to drop OpenGL altogether and try to use Ultimate++'s drawing system, since the shapes I'd like to draw are not very complex, and they're not necessarily 3D. However, using OpenGL would make that part of the code more portable, so I kind of want to stick with OpenGL. I'm trying to avoid relying too much on a specific GUI library/framework.

By the way, ArrayCtrl seems to have the same problem.
 
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: Tue Apr 23 18:50:08 CEST 2024

Total time taken to generate the page: 0.02634 seconds