Click to See Complete Forum and Search --> : Usage of differnt Help files


Steve Chia
May 4th, 1999, 12:22 AM
Hi,

What I wanna do is to invoke the English help file when an english option is chosen and a Chinese help file when a Chines option is chosen.

So it possible to invoke different help files depending on certain settings set in the application?? If it is possible, how can I do it??

Any sample code is greatly appreciated! :)

Thanks alot!!

Steve

eric33
May 4th, 1999, 01:29 AM
If you use the MFC context sensitive help then you may try to change the m_pszHelpFilePath member of your CWinApp class.
I never try this but it may work.


free((void*)AfxGetApp()->m_pszHelpFilePath);
AfxGetApp()->m_pszHelpFilePath=_tcsdup(_T(“myhelp.hlp”));
// You must give the full path name