mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[QuickAccent] A check is added to applications running under other ap… (#26808)
* [QuickAccent] A check is added to applications running under other applications with window name for excluding. * [QuickAccent] Check moved under a general function and applied all modules includes excludeapp * [QuickAccent] Function name revised * [QuickAccent] check_excluded_app_with_title function moved to excluded_apps.h * [QuickAccent] New function created for clean code. * Reuse check_excluded_app_with_title --------- Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
This commit is contained in:
@@ -23,8 +23,8 @@ namespace FancyZonesWindowUtils
|
||||
bool HasThickFrameAndMinimizeMaximizeButtons(HWND window) noexcept;
|
||||
bool IsCandidateForZoning(HWND window);
|
||||
bool IsProcessOfWindowElevated(HWND window); // If HWND is already dead, we assume it wasn't elevated
|
||||
bool IsExcludedByUser(const std::wstring& processPath) noexcept;
|
||||
bool IsExcludedByDefault(const std::wstring& processPath) noexcept;
|
||||
bool IsExcludedByUser(const HWND& hwnd, std::wstring& processPath) noexcept;
|
||||
bool IsExcludedByDefault(const HWND& hwnd, std::wstring& processPath) noexcept;
|
||||
|
||||
void SwitchToWindow(HWND window) noexcept;
|
||||
void SizeWindowToRect(HWND window, RECT rect) noexcept; // Parameter rect must be in screen coordinates (e.g. obtained from GetWindowRect)
|
||||
|
||||
Reference in New Issue
Block a user