IVsSwatchClient Members
Include Protected Members
Include Inherited Members
Enables creation of custom, owner-drawn swatch controls (color pickers) on menus. For advanced clients.
The IVsSwatchClient type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetCellTooltip | Returns a tooltip string in pbstrTooltip, or nulla null reference (Nothing in Visual Basic) if none. | |
GetEnabledCount | The client returns a count of the enabled cells in this swatch control. | |
GetMetrics | Fills the struct with creation data for their swatch control. | |
GetSelection | Returns initial/current selection; or the value (-1, -1) if no selection. | |
RealizePalette | Realizes the specified palette and returns the old palette. | |
RenderCell | Renders the cell with the specified criteria, or returns an MSO control ID for one of Microsoft Office's standard controls. | |
SelectCell | Tells the client that swatch (x, y) was selected. | |
SelectionUpdate | Notifies the client of the current/updated selection. |
Top