PSH_NOCONTEXTHELP 
Version 5.80. Removes the context-sensitive Help button ("?"), which is usually present on the caption bar of property sheets. This flag is not valid for wizards. See Property Sheets for a discussion of how to remove the caption bar help button for earlier versions of the Common Controls. 
PSH_HASHELP 
Permits property sheet pages to display a Help button. You must also set the PSP_HASHELP flag in the page's PROPSHEETPAGE structure when the page is created. If any of the initial property sheet pages enable a Help button, PSH_HASHELP will be set automatically. If none of the initial pages enable a Help button, you must explicitly set PSH_HASHELP if you want to have Help buttons on any pages that might be added later. 
You can deactivate the Help button capability by modifying m_psh in the property sheet object as follows:mySheet.m_psh.dwFlags &= ~(PSH_HASHELP);You can activate the Help button again with the following:mySheet.m_psh.dwFlags |= PSH_HASHELP;

解决方案 »

  1.   

    CCollectSheet  cs("哈哈");
    CPage1 page1;
    CPage2 page2;
    CPage3 page3;
    CPage4 page4; cs.AddPage(&page1);
    cs.AddPage(&page2);
    cs.AddPage(&page3);
    cs.AddPage(&page4); cs.SetTitle("Simple", PSH_PROPTITLE);
    cs.m_psh.dwFlags &= ~PSH_HASHELP; cs.SetWizardMode();
    if (cs.DoModal() == ID_WIZFINISH )
                .....但是这样还是不行? 应该怎么改呢? //bow 
      

  2.   

    CWnd * hWnd = GetDlgItem(IDHELP);
    if (hWnd != NULL) 
    {
    hWnd->ShowWindow(FALSE);
    }
      

  3.   

    // Hide the defaulted "OK" botton
    hWnd = GetDlgItem(IDOK);
    if (hWnd != NULL) 
    {
    hWnd->ShowWindow(FALSE);
    }
    // Hide the defaulted "Cancel" botton
    hWnd = GetDlgItem(IDCANCEL);
    if (hWnd != NULL) 
    {
    hWnd->ShowWindow(FALSE);
    }
      

  4.   

    用Search找到   ON_COMMAND(ID_HELP, CWinApp::OnHelp)  代码,注销就可以了!!
      

  5.   

    // Declare a CPropertySheet object.
    CPropertySheet sheet("Simple PropertySheet");// Change the settings of the two pages to enable property sheet's 
    // Help button when the page is active.  Both CStylePage and 
    // CColorPage are CPropertyPage-derived classes.
    CStylePage style;
    style.m_psp.dwFlags |= PSP_HASHELP;CColorPage color;
    color.m_psp.dwFlags  |= PSP_HASHELP;sheet.AddPage(&style);
    sheet.AddPage(&color);// Display a modal CPropertySheet dialog.
    sheet.DoModal();
      

  6.   

    To jiangsheng: 你的方法,试了还是不行,你用过吗?
    To happydeer(小鹿) 和 fiolin : 方法的确可行。
    谢谢众位的捧场和帮忙 //bow