Board index » Visual Studio » Overriding WinHelp is not working in .NET
|
SamuriJim
|
Overriding WinHelp is not working in .NET
Visual Studio171
Hi Friends, I have an application which was developed with Visual C++ 6.0 and MFC. In the application, the CWinApp::WinHelp method was overridden to support context sensitive help (F1 help). After upgrading to Visual Studio .Net 2003, the help links are not working any longer. The overridden WinHelp method in my CWinApp derived class no longer gets called when I press F1. On some investigation within the framework code, I found that another function CWinApp::WinHelpInternal gets called. If I just call this method from my overridden WinHelp method then things work fine. Is this a change made to the CWinApp class in the latest version of MFC and is it documented somewhere? I could not find any reference to it on the MSDN site or in the online docs. Will the workaround I have done has any impact which I'm not aware of? Thanks for your help. Regards, Devender... - |
