| 3890 | } |
| 3891 | |
| 3892 | void MessageList::UpdateBackgroundBrush() |
| 3893 | { |
| 3894 | int bru = COLOR_3DFACE; |
| 3895 | auto mode = GetLocalSettings()->GetMessageStyle(); |
| 3896 | if (mode == MS_FLATBR) |
| 3897 | bru = COLOR_WINDOW; |
| 3898 | |
| 3899 | ReloadBackground(); |
| 3900 | |
| 3901 | if (mode == MS_IMAGE) |
| 3902 | SetClassLongPtr(m_hwnd, GCLP_HBRBACKGROUND, (LONG_PTR) m_backgroundBrush); |
| 3903 | else |
| 3904 | SetClassLongPtr(m_hwnd, GCLP_HBRBACKGROUND, (LONG_PTR) ri::GetSysColorBrush(bru)); |
| 3905 | } |
| 3906 | |
| 3907 | bool MessageList::SendToMessage(Snowflake sf, bool requestIfNeeded, bool forceInvalidate) |
| 3908 | { |
no test coverage detected