U++ framework
Do not panic. Ask here before giving up.

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: Fri Jun 12 06:39:24 GMT+2 2026

Total time taken to generate the page: 0.00630 seconds