| 169 | } |
| 170 | |
| 171 | void MainFrame::NotifySettingsChange(ChangeType type) |
| 172 | { |
| 173 | if (!m_dwmWindow || !IsWindow(m_dwmWindow)) |
| 174 | { |
| 175 | m_dwmWindow = FindWindowW(L"Dwm", nullptr); |
| 176 | } |
| 177 | HWND notificationWindow = m_dwmWindow; |
| 178 | if (notificationWindow) |
| 179 | { |
| 180 | if (type == ChangeType::Colorization || type == ChangeType::Both) |
| 181 | SendNotifyMessage(notificationWindow, WM_DWMCOLORIZATIONCOLORCHANGED, 0, 0); |
| 182 | |
| 183 | if (type == ChangeType::Theme || type == ChangeType::Both) |
| 184 | SendNotifyMessage(notificationWindow, WM_THEMECHANGED, 0, 0); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | void MainFrame::SetDirty(bool dirty) |
| 189 | { |
nothing calls this directly
no outgoing calls
no test coverage detected