Форум: "Потрепаться";
Текущий архив: 2004.11.14;
Скачать: [xml.tar.bz2];
ВнизПомогите с цветами... Найти похожие ветки
← →
[lamer]Barmaglot © (2004-10-25 09:14) [0]У кого сейчас инсталлирована дельфи, не могли бы Вы сбросить названия и номера цветов специфичные для Виндовс (в смысле интересуют цвета типа WindowBackground, не интересуют цветатипа clRed)
← →
Rem © (2004-10-25 09:27) [1]
const
clScrollBar = TColor(COLOR_SCROLLBAR or $80000000);
clBackground = TColor(COLOR_BACKGROUND or $80000000);
clActiveCaption = TColor(COLOR_ACTIVECAPTION or $80000000);
clInactiveCaption = TColor(COLOR_INACTIVECAPTION or $80000000);
clMenu = TColor(COLOR_MENU or $80000000);
clWindow = TColor(COLOR_WINDOW or $80000000);
clWindowFrame = TColor(COLOR_WINDOWFRAME or $80000000);
clMenuText = TColor(COLOR_MENUTEXT or $80000000);
clWindowText = TColor(COLOR_WINDOWTEXT or $80000000);
clCaptionText = TColor(COLOR_CAPTIONTEXT or $80000000);
clActiveBorder = TColor(COLOR_ACTIVEBORDER or $80000000);
clInactiveBorder = TColor(COLOR_INACTIVEBORDER or $80000000);
clAppWorkSpace = TColor(COLOR_APPWORKSPACE or $80000000);
clHighlight = TColor(COLOR_HIGHLIGHT or $80000000);
clHighlightText = TColor(COLOR_HIGHLIGHTTEXT or $80000000);
clBtnFace = TColor(COLOR_BTNFACE or $80000000);
clBtnShadow = TColor(COLOR_BTNSHADOW or $80000000);
clGrayText = TColor(COLOR_GRAYTEXT or $80000000);
clBtnText = TColor(COLOR_BTNTEXT or $80000000);
clInactiveCaptionText = TColor(COLOR_INACTIVECAPTIONTEXT or $80000000);
clBtnHighlight = TColor(COLOR_BTNHIGHLIGHT or $80000000);
cl3DDkShadow = TColor(COLOR_3DDKSHADOW or $80000000);
cl3DLight = TColor(COLOR_3DLIGHT or $80000000);
clInfoText = TColor(COLOR_INFOTEXT or $80000000);
clInfoBk = TColor(COLOR_INFOBK or $80000000);
clGradientActiveCaption = TColor(COLOR_GRADIENTACTIVECAPTION or $80000000);
clGradientInactiveCaption = TColor(COLOR_GRADIENTINACTIVECAPTION or $80000000);
clNone = TColor($1FFFFFFF);
clDefault = TColor($20000000);
← →
[lamer]Barmaglot © (2004-10-25 09:45) [2]Спасибо...
← →
[lamer]Barmaglot © (2004-10-25 09:47) [3]Только вот интересуют значения вот этих констант COLOR_GRADIENTINACTIVECAPTION и т.д. в RGB варианте...
Есть у кого-нибудь?
← →
Rem © (2004-10-25 09:51) [4]
Value Meaning
COLOR_3DDKSHADOW Dark shadow for three-dimensional display elements.
COLOR_3DFACE,
COLOR_BTNFACE Face color for three-dimensional display elements.
COLOR_3DHILIGHT,
COLOR_3DHIGHLIGHT,
COLOR_BTNHILIGHT,
COLOR_BTNHIGHLIGHT Highlight color for three-dimensional display elements (for edges facing the light source.)
COLOR_3DLIGHT Light color for three-dimensional display elements (for edges facing the light source.)
COLOR_3DSHADOW,
COLOR_BTNSHADOW Shadow color for three-dimensional display elements (for edges facing away from the light source).
COLOR_ACTIVEBORDER Active window border.
COLOR_ACTIVECAPTION Active window caption.
COLOR_APPWORKSPACE Background color of multiple document interface (MDI) applications.
COLOR_BACKGROUND,
COLOR_DESKTOP Desktop.
COLOR_BTNTEXT Text on push buttons.
COLOR_CAPTIONTEXT Text in caption, size box, and scroll bar arrow box.
COLOR_GRAYTEXT Grayed (disabled) text. This color is set to 0 if the current display driver does not support a solid gray color.
COLOR_HIGHLIGHT Item(s) selected in a control.
COLOR_HIGHLIGHTTEXT Text of item(s) selected in a control.
COLOR_INACTIVEBORDER Inactive window border.
COLOR_INACTIVECAPTION Inactive window caption.
COLOR_INACTIVECAPTIONTEXT Color of text in an inactive caption.
COLOR_INFOBK Background color for tooltip controls.
COLOR_INFOTEXT Text color for tooltip controls.
COLOR_MENU Menu background.
COLOR_MENUTEXT Text in menus.
COLOR_SCROLLBAR Scroll bar gray area.
COLOR_WINDOW Window background.
COLOR_WINDOWFRAME Window frame.
COLOR_WINDOWTEXT Text in windows.
← →
Rem © (2004-10-25 09:54) [5]
const
{ Color Types }
{$EXTERNALSYM CTLCOLOR_MSGBOX}
CTLCOLOR_MSGBOX = 0;
{$EXTERNALSYM CTLCOLOR_EDIT}
CTLCOLOR_EDIT = 1;
{$EXTERNALSYM CTLCOLOR_LISTBOX}
CTLCOLOR_LISTBOX = 2;
{$EXTERNALSYM CTLCOLOR_BTN}
CTLCOLOR_BTN = 3;
{$EXTERNALSYM CTLCOLOR_DLG}
CTLCOLOR_DLG = 4;
{$EXTERNALSYM CTLCOLOR_SCROLLBAR}
CTLCOLOR_SCROLLBAR = 5;
{$EXTERNALSYM CTLCOLOR_STATIC}
CTLCOLOR_STATIC = 6;
{$EXTERNALSYM CTLCOLOR_MAX}
CTLCOLOR_MAX = 7;
{$EXTERNALSYM COLOR_SCROLLBAR}
COLOR_SCROLLBAR = 0;
{$EXTERNALSYM COLOR_BACKGROUND}
COLOR_BACKGROUND = 1;
{$EXTERNALSYM COLOR_ACTIVECAPTION}
COLOR_ACTIVECAPTION = 2;
{$EXTERNALSYM COLOR_INACTIVECAPTION}
COLOR_INACTIVECAPTION = 3;
{$EXTERNALSYM COLOR_MENU}
COLOR_MENU = 4;
{$EXTERNALSYM COLOR_WINDOW}
COLOR_WINDOW = 5;
{$EXTERNALSYM COLOR_WINDOWFRAME}
COLOR_WINDOWFRAME = 6;
{$EXTERNALSYM COLOR_MENUTEXT}
COLOR_MENUTEXT = 7;
{$EXTERNALSYM COLOR_WINDOWTEXT}
COLOR_WINDOWTEXT = 8;
{$EXTERNALSYM COLOR_CAPTIONTEXT}
COLOR_CAPTIONTEXT = 9;
{$EXTERNALSYM COLOR_ACTIVEBORDER}
COLOR_ACTIVEBORDER = 10;
{$EXTERNALSYM COLOR_INACTIVEBORDER}
COLOR_INACTIVEBORDER = 11;
{$EXTERNALSYM COLOR_APPWORKSPACE}
COLOR_APPWORKSPACE = 12;
{$EXTERNALSYM COLOR_HIGHLIGHT}
COLOR_HIGHLIGHT = 13;
{$EXTERNALSYM COLOR_HIGHLIGHTTEXT}
COLOR_HIGHLIGHTTEXT = 14;
{$EXTERNALSYM COLOR_BTNFACE}
COLOR_BTNFACE = 15;
{$EXTERNALSYM COLOR_BTNSHADOW}
COLOR_BTNSHADOW = $10;
{$EXTERNALSYM COLOR_GRAYTEXT}
COLOR_GRAYTEXT = 17;
{$EXTERNALSYM COLOR_BTNTEXT}
COLOR_BTNTEXT = 18;
{$EXTERNALSYM COLOR_INACTIVECAPTIONTEXT}
COLOR_INACTIVECAPTIONTEXT = 19;
{$EXTERNALSYM COLOR_BTNHIGHLIGHT}
COLOR_BTNHIGHLIGHT = 20;
{$EXTERNALSYM COLOR_3DDKSHADOW}
COLOR_3DDKSHADOW = 21;
{$EXTERNALSYM COLOR_3DLIGHT}
COLOR_3DLIGHT = 22;
{$EXTERNALSYM COLOR_INFOTEXT}
COLOR_INFOTEXT = 23;
{$EXTERNALSYM COLOR_INFOBK}
COLOR_INFOBK = 24;
{$EXTERNALSYM COLOR_HOTLIGHT}
COLOR_HOTLIGHT = 26;
{$EXTERNALSYM COLOR_GRADIENTACTIVECAPTION}
COLOR_GRADIENTACTIVECAPTION = 27;
{$EXTERNALSYM COLOR_GRADIENTINACTIVECAPTION}
COLOR_GRADIENTINACTIVECAPTION = 28;
COLOR_ENDCOLORS = COLOR_GRADIENTINACTIVECAPTION;
{$EXTERNALSYM COLOR_DESKTOP}
COLOR_DESKTOP = COLOR_BACKGROUND;
{$EXTERNALSYM COLOR_3DFACE}
COLOR_3DFACE = COLOR_BTNFACE;
{$EXTERNALSYM COLOR_3DSHADOW}
COLOR_3DSHADOW = COLOR_BTNSHADOW;
{$EXTERNALSYM COLOR_3DHIGHLIGHT}
COLOR_3DHIGHLIGHT = COLOR_BTNHIGHLIGHT;
{$EXTERNALSYM COLOR_3DHILIGHT}
COLOR_3DHILIGHT = COLOR_BTNHIGHLIGHT;
{$EXTERNALSYM COLOR_BTNHILIGHT}
COLOR_BTNHILIGHT = COLOR_BTNHIGHLIGHT;
← →
MBo © (2004-10-25 09:56) [6]>[lamer]Barmaglot © (25.10.04 09:47) [3]
Это же зависит от выбранной цветовой схемы
← →
Rem © (2004-10-25 10:38) [7]>>Это же зависит от выбранной цветовой схемы
Color := GetSysColor(COLOR_GRADIENTINACTIVECAPTION );
Страницы: 1 вся ветка
Форум: "Потрепаться";
Текущий архив: 2004.11.14;
Скачать: [xml.tar.bz2];
Память: 0.47 MB
Время: 0.049 c