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


IColorPalette.TrackPopupMenu Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Framework)  

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