'MINMAXINFO' : undeclared identifier in MFC application <p>I tried to use MINMAXINFO to resize the window dynamically in MFC application (in VS 2008). i added OnGetMinMaxInfo function through properties window.</p> <p>When i compile the code, i get an error saying that </p> <p>'ON_WM_GETMINMAXINFO': identifier not found 'MINMAXINFO' : undeclared identifier</p> <p>Please help me to resolve this.</p> <p>Regards, AH</p>