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
  1. Home
  2. General Programming
  3. C#
  4. Can’t show controlBox/System menu when FormBorderStyle=None.

Can’t show controlBox/System menu when FormBorderStyle=None.

Scheduled Pinned Locked Moved C#
help
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.
  • T Offline
    T Offline
    talk2robert
    wrote on last edited by
    #1

    Hello All, I’m developing an app which has set FormBorderStyle = None, as any developers who have already developed this type of app will know, there is no ControlBox/System menu available when right clicking the form icon. This is true for all WindowStates: minimized, normal or maximized. Is there a way to show the controlbox/system menu while keeping FormBorderStyle = None (or any other work-around):((. I would be very grateful if there’s anyone out there who can help me out with this. Thanks for your time & help, Rob.

    R 1 Reply Last reply
    0
    • T talk2robert

      Hello All, I’m developing an app which has set FormBorderStyle = None, as any developers who have already developed this type of app will know, there is no ControlBox/System menu available when right clicking the form icon. This is true for all WindowStates: minimized, normal or maximized. Is there a way to show the controlbox/system menu while keeping FormBorderStyle = None (or any other work-around):((. I would be very grateful if there’s anyone out there who can help me out with this. Thanks for your time & help, Rob.

      R Offline
      R Offline
      Rey9999
      wrote on last edited by
      #2

      add a popup menu to the form, so the user can minimize/maximize the form by right-clicking on the form and choosing the state.

      ~~~ From Milano to The Hague, easy as it goes ~~~

      T 1 Reply Last reply
      0
      • R Rey9999

        add a popup menu to the form, so the user can minimize/maximize the form by right-clicking on the form and choosing the state.

        ~~~ From Milano to The Hague, easy as it goes ~~~

        T Offline
        T Offline
        talk2robert
        wrote on last edited by
        #3

        Thanks for your reply Rey9999, Yes I could add a Context Menu to the form, but the user has no access to it when the form is minimized to the taskbar, it's this which is my main problem. Thanks for your time, Rob.

        R 1 Reply Last reply
        0
        • T talk2robert

          Thanks for your reply Rey9999, Yes I could add a Context Menu to the form, but the user has no access to it when the form is minimized to the taskbar, it's this which is my main problem. Thanks for your time, Rob.

          R Offline
          R Offline
          Rey9999
          wrote on last edited by
          #4

          you could minimize the form to the system tray instead, through a NotifyIcon control, which you can add a context menu to.

          ~~~ From Milano to The Hague, easy as it goes ~~~

          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