How to change the default property of the form
-
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
-
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
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.
-
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
Just go through the below article.It may be helpful for you... http://www.codeproject.com/KB/edit/TNumEditBox.aspx?display=Print[^]
-
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.
-
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