I need to minimize the program on status bar click event in MFC.
How do I do that?
I asked that question, and the solution I accepted follows:
BOOL CMainFrame::PreTranslateMessage(MSG* pMsg)
if (pMsg->message == WM_LBUTTONDOWN)
This doesn't work,
it will minimize the form on a click of a button or combo box elsewhere on the form.