| 1281 | |
| 1282 | |
| 1283 | void GuiType::ControlSetMonthCalColor(GuiControlType &aControl, COLORREF aColor, UINT aMsg) |
| 1284 | { |
| 1285 | // Testing shows that changing the COLOR_WINDOWTEXT system color affects MonthCal |
| 1286 | // controls, but passing CLR_DEFAULT always sets the color to black regardless. |
| 1287 | // MSDN doesn't seem to specify any way to revert to defaults. |
| 1288 | if (aColor == CLR_DEFAULT) |
| 1289 | aColor = GetSysColor(COLOR_WINDOWTEXT); |
| 1290 | SendMessage(aControl.hwnd, aMsg, MCSC_TEXT, aColor); |
| 1291 | } |
| 1292 | |
| 1293 | |
| 1294 | ResultType GuiType::ControlChoose(GuiControlType &aControl, ExprTokenType &aParam, BOOL aOneExact) |
nothing calls this directly
no outgoing calls
no test coverage detected