Strange CDialog behavior

Hello everybody

I have a dialog that inherits from CDialog, this dialog has a child OpenGL window that I update whenever the OnTimer message is received.
I have some buttons in this dialog that call some modal dialog boxes, I show these dialogs with doModal() and close them with EndDialog(), the problem is that after clicking on a button and closing the dialog two or three times, the dialog is not displayed anymore, I think it’s loaded in memory but it’s invisible for some reason, if you press some keys like ‘alt’ for example, the dialog then becomes visible…

any ideas of why this is happening will be greatly appreciated :slight_smile:

regards,
joel

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.