NetXP 3.0 Reference

CommandContextMenu Methods

The methods of the CommandContextMenu class are listed below. For a complete list of CommandContextMenu class members, see the CommandContextMenu Members topic.

Public Instance Methods

AssignHandle (inherited from NativeWindow) Assigns a handle to this window.
CalculateWindowSize Calculates the menu window's size.
CreateHandle (inherited from NativeWindow) Creates a window and its handle with the specified creation parameters.
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.
DefWndProc (inherited from NativeWindow)Invokes the default window procedure associated with this window. It is an error to call this method when the Handle property is 0.
DestroyHandle (inherited from NativeWindow) Destroys the window and its handle.
Dismiss Dismisses (closes) the menu.
Dispose Called when the menu must be disposed. NEVER call this function manually if you've set the command bar item collection such that it's no longer owned by this menu.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetItemRect Gets the rectangle (bounds) of an item.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ReleaseHandle (inherited from NativeWindow) Releases the handle associated with this window.
ShowOverloaded. Shows the popup menu at the specified location. No source control is provided.
ToString (inherited from Object)Returns a String that represents the current Object.
UpdatePosition Requests a repositioning of the menu.

See Also

CommandContextMenu Class | NETXP.Controls.Bars Namespace