Overview
Crop and Lock allows you to crop any window to display only a specific region of its content. The cropped area becomes an independent, always-visible window that updates in real-time with the source window, perfect for monitoring specific UI elements or data while working in other applications.Cropped windows remain synchronized with their source windows, updating in real-time as the source content changes.
Activation
Key Features
Window Cropping
Interactive Selection
Click and drag to select any regionVisual overlay shows selection area
Real-Time Updates
Cropped window mirrors source contentLive synchronization
Independent Window
Cropped area becomes separate windowCan be moved and positioned anywhere
Reparenting
Window reparenting for content captureMaintains connection to source
Window Management
Cropped windows are fully manageable:- Non-resizable by default (no maximize/resize borders)
- Can be moved freely
- Always on top behavior
- Maintains aspect ratio of cropped region
Overlay Selection Interface
When crop mode is activated:- Visual Overlay: Semi-transparent overlay covers the window
- Selection Rectangle: Drag to define crop region
- Real-time Preview: See selected area highlighted
- Escape to Cancel: Press
Escto cancel without cropping
Focus Management
Configuration
Activation Shortcut
Global hotkey to enter crop modeConfigurable in PowerToys Settings
Crop Behavior
No additional configuration options currently available. The utility provides straightforward crop-and-display functionality.Use Cases
Monitoring Dashboard Widgets
System Resource Monitoring
System Resource Monitoring
Crop Task Manager’s performance graph:
Build Status Tracking
Build Status Tracking
Monitor CI/CD dashboard status:
- Open build dashboard in browser
- Crop the build status section
- Keep visible while coding
- Instantly see build failures
Stock Ticker
Stock Ticker
Keep eye on stock prices:
- Crop stock price widget from trading platform
- Position on secondary monitor
- Monitor prices while working
Video Conferencing
Reference Material
Code Examples
Crop documentation example while codingKeep reference visible on screen
Design Specifications
Crop design specs sectionReference while implementing features
Chat Messages
Crop important chat conversationMonitor specific discussion thread
Terminal Output
Crop log section from terminalWatch for specific log messages
Multi-Application Workflows
- Trading
- Video Editing
- Data Analysis
Crop multiple charts from trading platform:
- Crop price chart
- Crop order book
- Crop portfolio summary
- Arrange cropped windows on screen
- Custom trading dashboard from single app
Gaming & Streaming
Game Overlays
Game Overlays
Create custom overlays from game UI:
- Crop minimap from strategy game
- Crop resource counters
- Crop chat window
- Arrange as custom HUD on secondary monitor
Stream Monitoring
Stream Monitoring
For streamers:
- Crop streaming software stats (bitrate, FPS)
- Crop chat window
- Crop donation alerts
- Monitor while gaming full screen
Technical Details
Architecture
Window Hierarchy
- ReparentCropAndLockWindow: Top-level independent window
- ChildWindow: Container for captured content
- Content Mirror: Real-time display of source window region
Window Styles
Content Synchronization
Real-time mirroring mechanism:- DWM Integration: Uses Desktop Window Manager for content capture
- Update Rate: Synchronized with source window refresh
- Performance: Minimal CPU overhead, GPU-accelerated
Key Components
| Component | Purpose | File |
|---|---|---|
ReparentCropAndLockWindow | Main window container | src/modules/CropAndLock/CropAndLock/ReparentCropAndLockWindow.cpp |
ChildWindow | Content display surface | src/modules/CropAndLock/CropAndLock/ChildWindow.cpp |
OverlayWindow | Selection interface | src/modules/CropAndLock/CropAndLock/OverlayWindow.cpp |
Keyboard Shortcuts
Global
| Shortcut | Action |
|---|---|
Win+Ctrl+Shift+T | Enter crop mode (default) |
During Crop Selection
| Shortcut | Action |
|---|---|
Click + Drag | Select crop region |
Esc | Cancel crop operation |
Release Mouse | Confirm selection and create cropped window |
Managing Cropped Windows
| Action | Method |
|---|---|
| Move | Drag title bar |
| Close | Click X button or Alt+F4 |
| Always on Top | Use Always On Top utility on cropped window |
Troubleshooting
Crop mode doesn't activate
Crop mode doesn't activate
Check:
- Crop and Lock is enabled in PowerToys Settings
- Target window is in focus
- Shortcut not conflicting with other applications
- PowerToys is running
- Try different target windows
- Verify shortcut in PowerToys Settings
- Restart PowerToys
Cropped window shows black/blank
Cropped window shows black/blank
Possible causes:
- Source window using protected content (DRM)
- Graphics driver issues
- Source window minimized or hidden
- Ensure source window is visible and unminimized
- Update graphics drivers
- Some content (e.g., video players with DRM) cannot be cropped
Content not updating in cropped window
Content not updating in cropped window
Troubleshooting:
- Check if source window is still open
- Verify source window is not minimized
- Close and recreate crop if sync is lost
Cannot select region in crop mode
Cannot select region in crop mode
Verify:
- Mouse cursor is over the target window
- Window is not obscured by other windows
- Graphics acceleration is enabled
Cropped window has wrong DPI scaling
Cropped window has wrong DPI scaling
For high-DPI displays:
- Cropped content should match source DPI
- If blurry, check display scaling settings
- Ensure PowerToys is DPI-aware
Limitations
Performance Considerations
- Multiple Crops: Many cropped windows may impact performance
- Large Regions: Larger crop areas use more GPU memory
- High Refresh Rate: Source windows updating frequently may increase GPU usage
See Also
- Always On Top - Keep cropped windows on top
- FancyZones - Organize multiple windows including crops
- PowerToys Run - Quick window management