Why do my popup dialogs dissapear en a MFC OpenGL Dialog
Posted on 2003-02-21
I have the following problem. I created a class that is derived from a CDialog class. It contains functionality for an openGL window. It works pretty good, but when there are popup's they keep dissapearing to the background. Only pressing the [ALT] key brings them up. Htey are selected the whole time, but just not visible. So I've tried some things, and when I hide and show this window, the popups, that have been pushed to the background, come forward. (By popups I mean, modal dialog boxes, messageboxes, etc.) I think it might have something to do with the OnPaint function that should be overwritten. Cause you can't call the OnPaint function of the CDialog class, and I've tried...you shoulnd call this function indeed.
So, I still have my problem and I solved it for now by hiding and showint the window every second, but this is a bad thing of course, so I'd like to know if someone had this problem before and might want to help me out here.
Thank you in advance.