CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Singapore
    Posts
    33

    Usage of differnt Help files

    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


  2. #2
    Join Date
    May 1999
    Posts
    318

    Re: Usage of differnt Help files

    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






Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured