I have this code:

CSettingsSheet::CSettingsSheet(UINT nIDCaption, CWnd* pParentWnd, UINT
iSelectPage)
        :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
        AddPage( &m_pageGeneral );
        AddPage( &m_pageRegions );
        AddPage( &m_pageMarkers );
        AddPage( &m_pageReport );
        m_psh.dwFlags |= PSH_NOAPPLYNOW;
        m_psh.dwFlags &= ~(PSH_HASHELP);
}

CSettingsSheet::CSettingsSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT
iSelectPage)
        :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
        AddPage( &m_pageGeneral );
        AddPage( &m_pageRegions );
        AddPage( &m_pageMarkers );
        AddPage( &m_pageReport );
        m_psh.dwFlags |= PSH_NOAPPLYNOW;
        m_psh.dwFlags &= ~(PSH_HASHELP);
}

I added code as stated in MSDN to deactivate the help button.  But when I
run the program, it still shows up and is clickable..

Andrew Truckle
CAD Manager
Atkins Survey and Mapping
Avon Way, Langley Park, Chippenham, Wiltshire. SN15 1GG
Telephone:     01249 455032
Switchboard:  01249 455000
Fax:             01249 455045
E-Mail: [EMAIL PROTECTED]
www.atkinsglobal.com <www.atkinsglobal.com> 


This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.

_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to