[idd] helper: send message over pipe when settings changed

This commit is contained in:
Quantum
2026-06-05 00:00:45 -04:00
committed by Geoffrey McRae
parent e4e211f07a
commit 0664e510a2
8 changed files with 50 additions and 9 deletions

View File

@@ -140,6 +140,8 @@ LRESULT CNotifyWindow::onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y)
m_config->onDestroy([this]() {
PostMessage(m_hwnd, WM_CLEAN_UP_CONFIG, 0, 0);
});
if (m_onSettingChange)
m_config->onSettingChange(m_onSettingChange);
ShowWindow(*m_config, SW_NORMAL);
break;
}