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++ Library : Other (not classified elsewhere) » Display problem with Splitter, GLCtrl and MenuBar
Re: Display problem with Splitter, GLCtrl and MenuBar [message #15868 is a reply to message #15625] Tue, 13 May 2008 18:23 Go to previous messageGo to previous message
kodos is currently offline  kodos
Messages: 111
Registered: March 2008
Experienced Member
I tested a bit with your code, but the problem with that is that you use GetRect() instead of GetSize().

GetRect gives you the relative position to the parent ctrl, but if you want to fill the whole StaticRect with a color you want to draw from (0, 0) and not from the position the ctrl has relative to its parent.

So it seems the problem has still something to do with the GLCtrl.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ImageCtrl issue
Next Topic: Uninitialized class members.
Goto Forum:
  


Current Time: Thu May 09 16:23:29 CEST 2024

Total time taken to generate the page: 0.02345 seconds