Hello friends,
I want to get the color of text has a different color to the color of the scroll bar in a textbox. I Modify the color scheme in the statement of the textbox but can not get good results.
Anyone know how to do this?
Thanks.
Dario
Solved! Go to Solution.
Hi,
All the objects will use the default scheme colors. You can define a particular color scheme color using:
pScheme—Pointer to a color scheme, if its NULL, default scheme is used.
when you declare the object. Otherwise the d4d_user_cfg.h default colors will be used:
For example:
/******************************************************************************
* General object colors
******************************************************************************/
// standard normal color fore
#define D4D_COLOR_FORE_NORM D4D_COLOR_YELLOW
// standard normal color background
#define D4D_COLOR_BCKG_NORM D4D_COLOR_LIGHT_GREY
// standard disabled color fore
#define D4D_COLOR_FORE_DISABLED D4D_COLOR_WHITE
// standard disabled color background
#define D4D_COLOR_BCKG_DISABLED D4D_COLOR_LIGHT_GREY
// standard focus color fore
#define D4D_COLOR_FORE_FOCUS D4D_COLOR_ORANGE
// standard focus color background
#define D4D_COLOR_BCKG_FOCUS D4D_COLOR_WHITE
// standard capturing color fore
#define D4D_COLOR_FORE_CAPTURE D4D_COLOR_BRIGHT_RED
// standard capturing color background
#define D4D_COLOR_BCKG_CAPTURE D4D_COLOR_WHITE
Best Regards,
Luis
Hi,
All the objects will use the default scheme colors. You can define a particular color scheme color using:
pScheme—Pointer to a color scheme, if its NULL, default scheme is used.
when you declare the object. Otherwise the d4d_user_cfg.h default colors will be used:
For example:
/******************************************************************************
* General object colors
******************************************************************************/
// standard normal color fore
#define D4D_COLOR_FORE_NORM D4D_COLOR_YELLOW
// standard normal color background
#define D4D_COLOR_BCKG_NORM D4D_COLOR_LIGHT_GREY
// standard disabled color fore
#define D4D_COLOR_FORE_DISABLED D4D_COLOR_WHITE
// standard disabled color background
#define D4D_COLOR_BCKG_DISABLED D4D_COLOR_LIGHT_GREY
// standard focus color fore
#define D4D_COLOR_FORE_FOCUS D4D_COLOR_ORANGE
// standard focus color background
#define D4D_COLOR_BCKG_FOCUS D4D_COLOR_WHITE
// standard capturing color fore
#define D4D_COLOR_FORE_CAPTURE D4D_COLOR_BRIGHT_RED
// standard capturing color background
#define D4D_COLOR_BCKG_CAPTURE D4D_COLOR_WHITE
Best Regards,
Luis