Hello,
I don't know what I'm missing but I can't get BUTTON_SetBkColor() to work. Here's my code :
hButton = BUTTON_Create(110, 110, 100, 40, GUI_ID_OK, WM_CF_SHOW);
BUTTON_SetText(hButton, "OK");
BUTTON_SetTextColor(hButton,BUTTON_CI_UNPRESSED,GUI_BLUE);
BUTTON_SetBkColor(hButton,BUTTON_CI_UNPRESSED,GUI_RED);
BUTTON_SetTextOffset(hButton,20,0);
All the other functions work well but not that one ?
Any ideas ?
EDIT : Also, when I draw some other elements on screen, such a line, my button won't be displayed at all ?!
I don't know what I'm missing but I can't get BUTTON_SetBkColor() to work. Here's my code :
hButton = BUTTON_Create(110, 110, 100, 40, GUI_ID_OK, WM_CF_SHOW);
BUTTON_SetText(hButton, "OK");
BUTTON_SetTextColor(hButton,BUTTON_CI_UNPRESSED,GUI_BLUE);
BUTTON_SetBkColor(hButton,BUTTON_CI_UNPRESSED,GUI_RED);
BUTTON_SetTextOffset(hButton,20,0);
All the other functions work well but not that one ?
Any ideas ?
EDIT : Also, when I draw some other elements on screen, such a line, my button won't be displayed at all ?!