This document is archived and information here might be outdated.  Recommended version.


IColorPalette.TrackPopupMenu Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > IColorPalette Interface > IColorPalette.TrackPopupMenu Method
ArcGIS Developer Help

IColorPalette.TrackPopupMenu Method

Show Color Palette.

[Visual Basic .NET]
Public Function TrackPopupMenu ( _
    ByRef rect As tagRECT, _
    ByVal currentColor As IColor, _
    ByVal orientation As Boolean, _
    ByVal hParentWnd As Integer _
) As Boolean
[C#]
public bool TrackPopupMenu (
    ref tagRECT rect,
    ref IColor currentColor,
    ref bool orientation,
    ref int hParentWnd
);

Product Availability

Available with ArcGIS Desktop.

Description

The TrackPopupMenu method displays the ColorPalette dialog on the screen.

Remarks

The TrackPopupMenu method controls the display of the palette with four parameters.

 

See Also

IColorPalette Interface