Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set the background color of a IStatic control?

0
Posted

How do I set the background color of a IStatic control?

0

Changing the background color of an IStatic does not work as expected in all of the current SDK versions. When IDISPLAY_SetColor (display, CLR_USER_BACKGROUND, rgbValue) is used to set the background color of a ISTATIC control, the following behavior is seen: 1) When the ISTATIC control is in the Manual Scroll mode (for 1.1 and 2.0 only): The background color is not set. 2) When the ISTATIC control is in the Auto Scroll mode (for all versions): The background color is set with the first auto scrolling movement. This will be fixed in an upcoming version of BREW.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123