473,480 Members | 2,347 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessing System Menu from C#

TB
For a simple form without its own menu I wanted to add
an "About..." command to the system menu as I would for
an old MFC/C++ application.

However I cannot find out how to access the system menu
other than to toggle it on/off via the ControlBox
property.

Is this simply a .NET style being enforced (thou shalt
not modify the system menu) or am I overlooking something?

Thanks in advance!
-- TB
Nov 15 '05 #1
2 2560
<ciach>
check this out

http://www.developerfusion.com/show/3413/

pozdrawiam

--
Selvin - Przemek Sulikowski
se****@osadkowski.com.pl
Nov 15 '05 #2
TB
"Selvin" <no***********@osadkowski.com.pl_nospam> wrote in news:bgapvt$ik3
$1@atlantis.news.tpi.pl:
<ciach>
check this out

http://www.developerfusion.com/show/3413/

pozdrawiam


Yeah, I kind of figured I could dive down to the Win32 layer this way, but
was hoping for a more integrated way -- i.e. one that would allow me to
actually treat the new command as a MenuItem and hook it up to the
delegate/event mechanism as normal.

I guess it's time to derive my own SystemMenu class and get that done!!
:-)

-- TB
Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1768
by: Tim Greenwood | last post by:
Title says it. Seems there should be an easy way to get a menu object reference to the System menu in the upper left corner of a form so I can add items to it.
0
1258
by: Robert Mark Bram | last post by:
Hi All! I have a menu system on my asp pages that use tables with a bunch of cells like this: <td class="menuHeader"><a href="../default.asp">Home</a></td> <td class="menuEntry"><a...
5
1547
by: sugaray | last post by:
Right now, the code I wrote below seems works fine, i know it's definitely not the best solution, so if there are better solutions to eschew from using goto statements to jump out of multiple loops...
0
1078
by: Tim Greenwood | last post by:
Title says it. Seems there should be an easy way to get a menu object reference to the System menu in the upper left corner of a form so I can add items to it.
1
1085
by: Dunc | last post by:
Hi, I've got a solution that consists of a number of different projects, and I've got a bunch of static functions that are utilised by each. I want to move these functions into a seperate...
4
3593
by: raj_genius | last post by:
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if...
3
4587
by: Jeff | last post by:
Hey asp.net 2.0 In the source I posted below, there is a GridView (look at the bottom of the script): <asp:GridView ID="gvwOnline" runat="server"> </asp:GridView> I'm trying to assign a...
0
1133
by: Dana | last post by:
Hi All I have a menu control on my page, something like: <form action=Default.aspx runat="server"> <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2">...
6
2255
by: JT | last post by:
Hi, I've realized that my good fortune of not having my computer go into standby mode was the result of my application accessing a file on a shared network drive. Not going into standby is a...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6915
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7054
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4493
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3003
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2993
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.