Home » Community » Newbie corner » GLCtrl and Docking: do they work together as expected?
GLCtrl and Docking: do they work together as expected? [message #28734] |
Tue, 14 September 2010 13:45 |
281264
Messages: 270 Registered: June 2010 Location: Spain
|
Experienced Member |
|
|
Hi,
I have spotted a, IMO, weird behaviour of several GLCtrls when working with Docking. Please test attached code. Two GLCtrl structs are created: one is made dockable. When this one is made auto-hide and you further take advantage of it, the main Topwindow (which contains the other GLCtrl) fails to re-paint correctly.
I have noticed that GLPane::Init() function is called every time the auto-hide feature is used, and consequently a new OpenGL rendering context is generated and made current. Is this a desirable behaviour? Why is going on this weird behaviour?.
For example, when the other dockable controls (trees) are made auto-hide, this feature does not interfere at all with the OpenGL Ctrl in the main application Topwindow.
Cheers,
Javier
|
|
|
Goto Forum:
Current Time: Sat May 11 23:52:09 CEST 2024
Total time taken to generate the page: 0.02799 seconds
|