Поделиться через


DICOLORSET Structure

Describes a set of colors used to draw the device configuration user interface. It is part of the DICONFIGUREDEVICESPARAMS structure.

Syntax

typedef struct DICOLORSET {
    DWORD dwSize;
    D3DCOLOR cTextFore;
    D3DCOLOR cTextHighlight;
    D3DCOLOR cCalloutLine;
    D3DCOLOR cCalloutHighlight;
    D3DCOLOR cBorder;
    D3DCOLOR cControlFill;
    D3DCOLOR cHighlightFill;
    D3DCOLOR cAreaFill;
} DICOLORSET, *LPDICOLORSET;

Members

  • dwSize
    Size of this structure, in bytes.
  • cTextFore
    Foreground text color.
  • cTextHighlight
    Foreground color for highlighted text.
  • cCalloutLine
    Color used to display callout lines.
  • cCalloutHighlight
    Color used to display callout lines.
  • cBorder
    Border color, used to display lines around controls such as tabs and buttons.
  • cControlFill
    Fill color for controls such as tabs and buttons.
  • cHighlightFill
    Fill color for highlighted controls.
  • cAreaFill
    Fill color for areas outside controls such as tabs and buttons.

Remarks

Text background color is always transparent.

See Also

D3DCOLOR