This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

configuring emWin widgets with macros

Hello,

i just startet using Keil and the emWin Library. I am trying to modify an existing project with a simple GUI, constructed with the GUI-Builder by Segger.
I am trying to modify the GUI elements by using the given macros listed in the emWin manual. For example, i try to set
#define EDIT_BKCOLOR1_DEFAULT GUI_RED
#define EDIT_BKCOLOR0_DEFAULT GUI_BLUE
at the top of the dreated Dialog.c (created with GUI Builder), however, this does not have any effect, the colors of the EDIT-boxed in the GUI still have the default color.
Can someone maybe help me here? Where do i have to set the above macros?

Kind Regards,