Click here to Skip to main content
11,706,979 members (40,826 online)
Click here to Skip to main content

Tagged as

Disable the context sensitive help

, 14 Apr 2011 CPOL 4.3K 1
Rate this:
Please Sign up or sign in to vote.
Sometimes we tend to enable the context sensitive help while creating a project, how to disable that later and get rid or error/information pops on clicking F1 while the application is running.
Open the mainfrm.cpp and comment out the help commands

    // Global help commands
//  ON_COMMAND(ID_HELP_FINDER, &CFrameWnd::OnHelpFinder)
//  ON_COMMAND(ID_HELP, &CFrameWnd::OnHelp)
//  ON_COMMAND(ID_CONTEXT_HELP, &CFrameWnd::OnContextHelp)
//  ON_COMMAND(ID_DEFAULT_HELP, &CFrameWnd::OnHelpFinder)
        ON_MESSAGE(WM_SET_STATUS_BAR_TEXT, &CMainFrame::SetStatusBarText)


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
India India

Just an aspiring programmer

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150819.1 | Last Updated 15 Apr 2011
Article Copyright 2011 by CHMLPAVANI
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid