do not use white text on white background in control
... setting a control's background color has no effect (until input field text is changed?) Could be observed in the pivot table dialog's source range edit when an invalid range was entered. Change-Id: Iafb2a9016ac6bd4c020273911d62dd7423ee0458
This commit is contained in:
@@ -484,8 +484,14 @@ void RefEdit::SetRefValid(bool bValid)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
// Setting background color has no effect here so we'd end up with
|
||||||
|
// white on white!
|
||||||
SetControlForeground(COL_WHITE);
|
SetControlForeground(COL_WHITE);
|
||||||
SetControlBackground(0xff6563);
|
SetControlBackground(0xff6563);
|
||||||
|
#else
|
||||||
|
SetControlForeground( ::Color( RGB_COLORDATA( 0xf0, 0, 0)));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user