Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Floated Docking Pane and OpenGL problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Floated Docking Pane and OpenGL problem

 Post Reply Post Reply
Author
Message Reverse Sort Order
DaveS View Drop Down
Groupie
Groupie


Joined: 18 February 2005
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveS Quote  Post ReplyReply Direct Link To This Post Topic: Floated Docking Pane and OpenGL problem
    Posted: 06 September 2008 at 2:50pm
 
I have a docking pane view that renders its contents using OpenGL. Everything works great until I float that pane. Then, every time that the OpenGL pane loses focus, the content area goes blank and/or renders garbage.  In fact, just moving the mouse to be over any of the buttons on the docking pane title bar (e.g. close or pin) will also cause the contents to go blank. Giving the pane focus again causes it to repaint and it again works fine.
 
Again, the OpenGL pane behaves just fine when it loses focus while it is docked. When the pane loses focus, none of my code in the OpenGL view gets called, I'm not doing anything special when views lose focus.
 
Any hints would be appreciated. What actually happens when a floated pane loses focus that might affect my situation?
 
Thanks in advance
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.