Overview
Always On Top allows you to pin windows so they remain visible above all other windows. Pinned windows display an optional colored border and support transparency adjustments, making it easy to keep important information visible while working.Always On Top uses the Windows
WS_EX_TOPMOST extended window style to keep windows above others.Activation
Key Features
Window Pinning
Pin any window to keep it always on top:Pin/Unpin
Toggle window topmost state with hotkeyDefault:
Win+Ctrl+TVisual Border
Optional colored frame around pinned windowsConfigurable thickness and color
Transparency Control
Adjust window opacity with keyboard shortcutsIncrease:
Win+Ctrl++Decrease: Win+Ctrl+-System Menu Integration
Add “Always on top” option to window system menusRight-click title bar to access
Transparency Adjustment
Fine-tune window opacity for pinned windows:Visual Border Options
Customize the appearance of pinned window borders:- Border Thickness: Adjustable pixel width
- Border Color: Choose from predefined colors or custom RGB
- Border Style: Solid outline around window perimeter
- Virtual Desktop Aware: Borders only appear on current desktop
System Menu Integration
When enabled, Always On Top adds a “Pin window” option to every window’s system menu:- Right-click on any window’s title bar
- Select “Always on top” from the menu
- Window is pinned with checkmark indicator
Configuration
Settings Location
Settings are stored in:Available Options
Keyboard shortcut to pin/unpin windowsDefault:
Win+Ctrl+TShow colored border around pinned windows
Border width in pixels
Border color in hex format
Play sound when pinning/unpinning windows
Add toggle option to window system menus
Disable Always On Top when Windows Game Mode is active
List of applications to exclude from Always On Top
Excluding Applications
Prevent specific applications from being pinned:- Open PowerToys Settings
- Navigate to Always On Top
- Scroll to “Excluded apps”
- Click “Add application”
- Select the executable or enter process name
Use Cases
Video Conferencing
Adjust Transparency
Make controls semi-transparent to see content behind themPress
Win+Ctrl+- to decrease opacityReference Documentation
Keep documentation visible while coding:Monitoring Dashboards
System Monitoring
Pin Task Manager or Resource Monitor to track performance during testing
Chat Applications
Keep Slack or Teams chat visible for incoming messages
Timers & Clocks
Pin timer applications for time-sensitive tasks
Media Controls
Keep music player controls accessible while working
Multi-Monitor Workflows
Optimize screen real estate:- Pin small utility windows on primary monitor
- Use transparency to maintain visibility of background work
- Quick-pin reference windows when switching focus
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Win+Ctrl+T | Pin/Unpin active window (default) |
Win+Ctrl++ | Increase window transparency (same modifiers as pin hotkey) |
Win+Ctrl+- | Decrease window transparency (same modifiers as pin hotkey) |
Transparency shortcuts use the same modifier keys as the configured pin hotkey.
Technical Details
Window Event Handling
Always On Top subscribes to multiple Windows events:Border Rendering
Borders are implemented as separate layered windows that follow the pinned window:- Uses
WS_EX_LAYEREDandWS_EX_TRANSPARENTextended styles - Updates position on
EVENT_OBJECT_LOCATIONCHANGE - Automatically hides when pinned window is minimized
- DPI-aware for high-resolution displays
Virtual Desktop Support
Always On Top is virtual desktop aware:Elevation Awareness
When a pinned window is elevated and PowerToys is not, Always On Top shows a notification:- Warns about potential issues with elevated windows
- Provides option to run PowerToys as administrator
- “Don’t show again” checkbox for user preference
Troubleshooting
Border not showing around pinned window
Border not showing around pinned window
Possible causes:
- Border feature disabled in settings
- Window on different virtual desktop
- DPI scaling issues
- Check “Show border around pinned windows” in settings
- Verify window is on current virtual desktop
- Try adjusting border thickness (src/modules/alwaysontop/AlwaysOnTop/AlwaysOnTop.cpp:159)
Window won't stay on top
Window won't stay on top
Possible causes:
- Application in excluded apps list
- Game Mode is active (if blocking enabled)
- Elevated window with PowerToys not elevated
- Check excluded apps list in settings
- Disable “Block in Game Mode” if needed
- Run PowerToys as administrator (src/modules/alwaysontop/AlwaysOnTop/AlwaysOnTop.cpp:789)
Transparency controls not working
Transparency controls not working
Transparency only works on pinned windows
- Ensure window is pinned first (has border or system menu checkmark)
- Use the transparency hotkeys:
Win+Ctrl+Plus/Win+Ctrl+Minus - Check that modifiers match your pin hotkey configuration
System menu option not appearing
System menu option not appearing
See Also
- FancyZones - Advanced window layout management
- Crop and Lock - Crop window content
- PowerToys Run - Quick window switching