rjparkin
May 12th, 2008, 06:53 AM
I am writing an application that displays a 3D model in a window.
Application Details
MFC/C++ Application
Direct X 8.0
VS2008 Development enviroment
Problem
Depending on the user's settings, Windows sometimes returns to the log on screen e.g. When the user has not performed any action for a give period. If the application is running while this happens and the user logs back in then the model is not displayed (even when I force a redraw e.g. rotating the view etc). However if I then proceed to resize the window then everything is drawn correctly and the program continues to work as expected (until Windows returns to the user to the log on screen).
Has anyone experienced this or have any thoughts?
Application Details
MFC/C++ Application
Direct X 8.0
VS2008 Development enviroment
Problem
Depending on the user's settings, Windows sometimes returns to the log on screen e.g. When the user has not performed any action for a give period. If the application is running while this happens and the user logs back in then the model is not displayed (even when I force a redraw e.g. rotating the view etc). However if I then proceed to resize the window then everything is drawn correctly and the program continues to work as expected (until Windows returns to the user to the log on screen).
Has anyone experienced this or have any thoughts?