Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Disappearing Help window

Disappearing Help window

Scheduled Pinned Locked Moved C#
csharphelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LannieK
    wrote on last edited by
    #1

    I have just added help to my C# application, and it invokes the Help window when F1 is pressed just as it should. However, I find that the help window itself disappears or is covered by my app (the app is always maximized) whenever the app loses focus. For reasons I won't go into at the moment, my app creates additional windows that it arranges for itself, but I don't know if this has any bearing on the matter. All I can say for sure is that if my app loses the focus, the Help window disappears. It comes back if I click on the title bar of my app to get focus back, but if I click on the title bar of the Help window, my app loses focus, and the help window goes away again! Does anyone know of a setting I may have made in my app that would cause this behavior?

    S 1 Reply Last reply
    0
    • L LannieK

      I have just added help to my C# application, and it invokes the Help window when F1 is pressed just as it should. However, I find that the help window itself disappears or is covered by my app (the app is always maximized) whenever the app loses focus. For reasons I won't go into at the moment, my app creates additional windows that it arranges for itself, but I don't know if this has any bearing on the matter. All I can say for sure is that if my app loses the focus, the Help window disappears. It comes back if I click on the title bar of my app to get focus back, but if I click on the title bar of the Help window, my app loses focus, and the help window goes away again! Does anyone know of a setting I may have made in my app that would cause this behavior?

      S Offline
      S Offline
      sreejith ss nair
      wrote on last edited by
      #2

      Just try this code and tell me , whether it served your purpose or not. System.Diagnostics.Process.Start(@"c:\\help.chm"); and don't forget to refer System.Configuration namespace in your code.;) Sreejith Nair [ My Articles ]

      L 1 Reply Last reply
      0
      • S sreejith ss nair

        Just try this code and tell me , whether it served your purpose or not. System.Diagnostics.Process.Start(@"c:\\help.chm"); and don't forget to refer System.Configuration namespace in your code.;) Sreejith Nair [ My Articles ]

        L Offline
        L Offline
        LannieK
        wrote on last edited by
        #3

        That worked just fine. Thanks! Is there any way I can access individual topics this way for context-sensitive help?

        S 1 Reply Last reply
        0
        • L LannieK

          That worked just fine. Thanks! Is there any way I can access individual topics this way for context-sensitive help?

          S Offline
          S Offline
          sreejith ss nair
          wrote on last edited by
          #4

          You can achive it throught some third party help creator tool Or you can use Microsoft Help Workshop. This you will get through .NET installation.;) Sreejith Nair [ My Articles ]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups