Why no help support in VS2k5 for PocketPC?

    技术2022-05-11  71

    解决方法如下: 源贴: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=312014&SiteID=1

    I managed to hack around it. This works for dialog apps anyway.

    In each dialog that has ON_HELPINFO, include the following header. In the main program file, comment out this line in the message map: ON_COMMAND(ID_HELP, CWinApp::OnHelp)

    helpinfo.h:

    #if !defined (HELPINFO_H_INCLUDED__73F6F4A6_FF9C_4ACB_89BF_D72035E02917_)#define HELPINFO_H_INCLUDED__73F6F4A6_FF9C_4ACB_89BF_D72035E02917_#if _MSC_VER > 1000#pragma once#endif//==============================================================================

    #define AfxSig_bHELPINFO 42

    #define ON_WM_HELPINFO() /    { WM_HELP, 0, 0, 0, AfxSig_bHELPINFO, /        (AFX_PMSG)(AFX_PMSGW)(BOOL (AFX_MSG_CALL CWnd::*)(HELPINFO*))&OnHelpInfo },typedef struct tagHELPINFO{}  HELPINFO;typedef void* LPHELPINFO;

    //==============================================================================#endif // HELPINFO_H_INCLUDED__73F6F4A6_FF9C_4ACB_89BF_D72035E02917_

     

    最新回复(0)