How to hide windows main menu.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anujzcool
    New Member
    • Oct 2007
    • 12

    #1

    How to hide windows main menu.

    Hi All,

    I am working on a win form, and form is a MDI child, and is docked in parent form.
    I want to hide the main menu(windows automatic menu that is linked to every form) of this form.
    Is it possible??

    Thanks and regards
    Anuj Kapoor
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What windows automatic menu?
    Are you refering to the context menu with the "minimize" "maximize" "close" etc?
    Change your form type to be a toolwindow?
    Turn off the control box?

    Comment

    • anujzcool
      New Member
      • Oct 2007
      • 12

      #3
      Hi,

      Thanks for the reply.

      Ya m referring to windows form context menu only, and on disabling minimize and maxmize control box it just disables it in context menu, however i dont want to show the menu in my case.

      Thanks and regards
      Anuj Kapoor

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        I think if you set the FormBorderStyle to None or to ToolWindow, you will get rid of that context menu.
        Other then that I think you may need to look up Win32 APIs because I am not sure .NET itself has any more capability then that.

        Comment

        Working...