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. Visual Basic
  4. How to change the default property of the form

How to change the default property of the form

Scheduled Pinned Locked Moved Visual Basic
tutorialquestioncsharp
5 Posts 4 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.
  • A Offline
    A Offline
    AR Reddy
    wrote on last edited by
    #1

    Hi, I want to chnage the default property of the form in VB.NET. Means, when we create a form with out any controls and run, there is an icon will display at top right corner. When we click on that icon, we will get the menu items as follows Restore Move Size Minimize Maximize X Close Alt+F4 Now I want to change these menu Items. How can I do this? For example I want to change the menu Item "Close Alt+F4" to "Close Ctrl+F4" I want to add new menu Item "Next Ctrl+F6" How can we do this? Please let me know. Thanks in Advance.

    AR Reddy

    L H 2 Replies Last reply
    0
    • A AR Reddy

      Hi, I want to chnage the default property of the form in VB.NET. Means, when we create a form with out any controls and run, there is an icon will display at top right corner. When we click on that icon, we will get the menu items as follows Restore Move Size Minimize Maximize X Close Alt+F4 Now I want to change these menu Items. How can I do this? For example I want to change the menu Item "Close Alt+F4" to "Close Ctrl+F4" I want to add new menu Item "Next Ctrl+F6" How can we do this? Please let me know. Thanks in Advance.

      AR Reddy

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Have to use the API: SAMPLE: How to Add New Menu Items to the System Menu[^] The author of Manipulating the System Menu Using C#[^] made a class in C# to do it. You could compile it as a dll to use.

      J 1 Reply Last reply
      0
      • A AR Reddy

        Hi, I want to chnage the default property of the form in VB.NET. Means, when we create a form with out any controls and run, there is an icon will display at top right corner. When we click on that icon, we will get the menu items as follows Restore Move Size Minimize Maximize X Close Alt+F4 Now I want to change these menu Items. How can I do this? For example I want to change the menu Item "Close Alt+F4" to "Close Ctrl+F4" I want to add new menu Item "Next Ctrl+F6" How can we do this? Please let me know. Thanks in Advance.

        AR Reddy

        H Offline
        H Offline
        HemJoshi
        wrote on last edited by
        #3

        Just go through the below article.It may be helpful for you... http://www.codeproject.com/KB/edit/TNumEditBox.aspx?display=Print[^]

        1 Reply Last reply
        0
        • L Lost User

          Have to use the API: SAMPLE: How to Add New Menu Items to the System Menu[^] The author of Manipulating the System Menu Using C#[^] made a class in C# to do it. You could compile it as a dll to use.

          J Offline
          J Offline
          JR212
          wrote on last edited by
          #4

          I was looking for this to. Thanks this helpt. Can I also with some api add or modify the icons at the right side of the titlebar. It would be nise when I add or remove a menu option I also add/remove complete the icon at the right side Jan

          L 1 Reply Last reply
          0
          • J JR212

            I was looking for this to. Thanks this helpt. Can I also with some api add or modify the icons at the right side of the titlebar. It would be nise when I add or remove a menu option I also add/remove complete the icon at the right side Jan

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            You can. See Add Transparent Menus and XP Titlebar Buttons to your application[^].

            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