Thoughts on native mobile development on Microsoft platforms
Thanks for this piece of code. I will try asap.I have also a question about WTL framework and I don't know where to post it.I know that you already have done some projects with WTL so you may be able to answer.I have a WTL project on WM5/6 with a frame and some views and I would like to catch the exit message so that when I click on the Cancel button I check if I am in a certain view and if not go the mainview instead of exiting.I tried to trace msg but I only get this :CMainFrame msg : msg=WM_WINDOWPOSCHANGEDCMainFrame msg : msg=WM_SIZECMainFrame msg : msg=WM_CANCELMODECMainFrame msg : msg=0xc003 ?CMainFrame msg : msg=0x86 ?CMainFrame msg : msg=WM_ACTIVATEIf you could help, thanksVincent R.richom [ DOT] v [A.T] free [DOT] frwwW.smartmobili.com
forget it.I have found.In OnCreate I have added ::SHDoneButton( m_hWnd, SHDB_SHOWCANCEL );And now I receive a WM_COMMAND that I can catch.Thanks.
Post a Comment