Power of Software
NiTSOFT iNTERACTIVE

About the Author
Downloads
Resources
Home
Help
Links
Tutorials
Feedback
What's Next
 
 

Visual Basic.NET by Nitin Chopra

System Tray Icon
and Context Menus

For more information here is a list of all the members of the ContextMenu class.

Public Constructors

ContextMenu Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the ContextMenu class.


Public Properties

Container (inherited from Component)

Gets the IContainer that contains the Component.

Handle (inherited from Menu)

Gets a value representing the window handle for the menu.

IsParent (inherited from Menu)

Gets a value indicating whether this menu contains any menu items. This property is read-only.

MdiListItem (inherited from Menu)

Gets a value indicating the MenuItem that is used to display a list of Multiple Document Interface (MDI) child forms.

MenuItems (inherited from Menu)

Supported by the .NET Compact Framework.

Gets a value indicating the collection of MenuItem objects associated with the menu.

RightToLeft

Gets or sets a value indicating whether text displayed by the control is displayed from right to left.

Site (inherited from Component)

Gets or sets the ISite of the Component.

SourceControl

Gets the control that is displaying the shortcut menu.

Public Methods

CreateObjRef (inherited from MarshalByRefObject)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

Dispose (inherited from Component)

Overloaded. Releases the resources used by the Component.

Equals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.

GetContextMenu (inherited from Menu)

Gets the ContextMenu that contains this menu.

GetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetLifetimeService (inherited from MarshalByRefObject)

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

GetMainMenu (inherited from Menu)

Gets the MainMenu that contains this menu.

GetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.

InitializeLifetimeService (inherited from MarshalByRefObject)

Obtains a lifetime service object to control the lifetime policy for this instance.

MergeMenu (inherited from Menu)

Merges the MenuItem objects of one menu with the current menu.

Show

Supported by the .NET Compact Framework.

Displays the shortcut menu at the specified position.

ToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Public Events

Disposed (inherited from Component)

Adds an event handler to listen to the Disposed event on the component.

Popup

Occurs before the shortcut menu is displayed.

Protected Properties

DesignMode (inherited from Component)

Gets a value that indicates whether the Component is currently in design mode.

Events (inherited from Component)

Gets the list of event handlers that are attached to this Component.

Protected Methods

CloneMenu (inherited from Menu)

Copies the Menu that is passed as a parameter to the current Menu.

Dispose (inherited from Component)

Supported by the .NET Compact Framework.

Overloaded. Releases the resources used by the Component.

Finalize (inherited from Component)

Supported by the .NET Compact Framework.

Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

GetService (inherited from Component)

Returns an object that represents a service provided by the Component or by its Container.

MemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

 

So we see that creating your own system tray icon and opening a context menu is not all that difficult thanks to the .NET architecture.

 

Page - 1
Page - 2
Page - 4
Page - 5
 
 

This Web site is best viewable at a resolution of 800x600 or more.

 

 

 

SubmitFree: Submit to 25+ Search Engines for free !!!! Free SubDomains Add Me!  

SearchHippo.com Web Search 

 

Hosted by www.Geocities.ws

1