Using F1 Help (CHM format) With WPF

前端 未结 5 1196
囚心锁ツ
囚心锁ツ 2020-12-09 03:57

I\'ve been working on a WPF application for a while, and the time has come to attach the CHM format help document to it.

But alas! HelpProvider, the standard way to

相关标签:
5条回答
  • 2020-12-09 04:16

    How about using the Help class instead of opening the file externally

    0 讨论(0)
  • 2020-12-09 04:24

    Call me crazy, but couldn't you just do:

    System.Diagnostics.Process.Start(@"C:\path-to-chm-file.chm");
    
    0 讨论(0)
  • 2020-12-09 04:29

    If you include System.Windows.Forms.dll you can also do:

    System.Windows.Forms.Help.ShowHelp(null, @"help.chm");
    

    Also, there's an article here about adding a context sensitive help system to WPF.

    0 讨论(0)
  • 2020-12-09 04:32

    You can use http://www.pinvoke.net/default.aspx/hhctrl.HtmlHelp to open chm help at specified topic and to have more control of how chm window shown.

    0 讨论(0)
  • 2020-12-09 04:34

    I am trying out Easy Help with WPF, which also addresses context sensitive help based on key words. So far it seems good. All I need to do is get cracking and write some decent help!

    0 讨论(0)
提交回复
热议问题