I am working on a program built in MFC.
I have this weird situation when I shake my CFormView. The first time everything is minimised correctly, but when I shake it the second time while all of the windows are restored, one of my CDialog's inside the CFormView are going to the back, but it should be on front.
How can I catch the event of the second shake? What message does it send to my CDialog?
Is it something I can declare on my message map?
I couldn't find anything about it in the internet.