Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I'm facing a weird problem with the IStatic control. If at some stage in my program, I set the text color to white by:
IDISPLAY_SetColor(pMe->a.m_pIDisplay, CLR_USER_TEXT, RGB_WHITE);

and later, when I try to draw a ISTATIC control on the screen, the text does not show up on the control. Setting the text color to black before drawing the ISTATIC control does not help:
IDISPLAY_SetColor(pMe->a.m_pIDisplay, CLR_USER_TEXT, RGB_BLACK);

Thanks in advance,
Roshan

It was my mistake...It had nothing to do with IDISPLAY_SetColor, I made a mistake in ISHELL_LoadResString.
Roshan

It was my mistake...It had nothing to do with IDISPLAY_SetColor, I made a mistake in ISHELL_LoadResString.
Roshan