Fix Edge Clicks Passing Through Maximized Word or Excel Windows
Question details
Prevent clicks at the edge of a maximized Word or Excel window from selecting a window behind it.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- Windows 10
- Scenario
- A user clicks near the top or screen edge of a maximized Office window.
- Observed behavior
- A small gap may allow the click to reach the window behind the Office application.
Identify whether the issue affects Word, Excel, or both, and find the full path to each affected program's executable. Close the affected application before changing its compatibility settings.
Override High-DPI Scaling in the Office Program's Properties
Use this method when the affected program's Compatibility tab provides a high-DPI scaling override.
In File Explorer, locate the affected program's executable, such as WINWORD.EXE or EXCEL.EXE. If you start from a shortcut, right-click it and select Open file location until you reach the executable.
Right-click the executable, select Properties, and open the Compatibility tab.
Select Change high DPI settings, check Override high DPI scaling behavior, and choose Application from the scaling drop-down.
Select OK and Apply, reopen the Office program, maximize its window, and test clicks along the affected edge.

Set the High-DPI Compatibility Flag in the Registry
Use this method if the high-DPI override is unavailable in the program's Properties.
Work on Documents and Spreadsheets with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Word documents and Excel spreadsheets. Open your existing files to make switching workflows straightforward; WPS does not change Microsoft Office's DPI settings.

Frequently Asked Questions
Why do clicks at the edge of my Office window select another window?
A small gap can appear around a maximized Word or Excel window, potentially because of high-DPI scaling or compatibility settings. Try the application's high-DPI override and test the edge again.
Where can I find the high-DPI scaling override?
Right-click the affected program's executable in File Explorer, select Properties > Compatibility > Change high DPI settings, and look for Override high DPI scaling behavior.
What if the Compatibility tab or DPI option is unavailable?
You can add a string value under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. Use the executable's full path as the value name and ~ HIGHDPIAWARE as the data, then restart the program.
Do I need to apply the registry setting to both Word and Excel?
Yes, if both applications are affected. Create a separate value for the full path to each executable, WINWORD.EXE and EXCEL.EXE.




