mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
Improve FancyZones window filtering (#856)
Improve FancyZones window filtering and filter out dialog windows
This commit is contained in:
committed by
GitHub
parent
3a65d5ce23
commit
fed81c8e22
@@ -24,7 +24,10 @@ private:
|
||||
// List of HWNDs that are not interesting - like desktop, cortana, etc
|
||||
std::vector<HWND> invalid_hwnds = { GetDesktopWindow(), GetShellWindow() };
|
||||
// List of invalid window basic styles
|
||||
std::vector<LONG> invalid_basic_styles = { WS_CHILD, WS_DISABLED };
|
||||
std::vector<LONG> invalid_basic_styles = { WS_CHILD, WS_DISABLED, DS_ABSALIGN, DS_SYSMODAL, DS_LOCALEDIT,
|
||||
DS_SETFONT, DS_MODALFRAME, DS_NOIDLEMSG, DS_SETFOREGROUND, DS_3DLOOK,
|
||||
DS_FIXEDSYS, DS_NOFAILCREATE, DS_CONTROL, DS_CENTER, DS_CENTERMOUSE,
|
||||
DS_CONTEXTHELP, DS_SHELLFONT };
|
||||
// List of invalid window extended styles
|
||||
std::vector<LONG> invalid_ext_styles = { WS_EX_TOOLWINDOW, WS_EX_NOACTIVATE };
|
||||
// List of invalid window classes - things like start menu, etc.
|
||||
|
||||
Reference in New Issue
Block a user