Commit Graph

3 Commits

Author SHA1 Message Date
taqin
1a4430e235 Fix window dragging - use ReleaseCapture + SendMessage for native drag
- webkit-app-region doesn't work in WebView2, use Win API instead
- Bind windowDrag() that calls ReleaseCapture + SendMessage(WM_NCLBUTTONDOWN)
- Title bar onmousedown triggers native window drag behavior
- stopPropagation on window control buttons to prevent drag on click
- Window can now be dragged by clicking anywhere on the title bar

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:23:22 +07:00
taqin
8bf4c2ffdb Hide native title bar, add custom frameless window controls
- Remove WS_CAPTION via SetWindowLong to hide native Windows title bar
- Keep WS_THICKFRAME for window resizing from edges
- Add custom Win11-style window control buttons (minimize, maximize, close)
- Close button turns red on hover (#c42b1c) matching Windows 11
- Title bar is draggable via -webkit-app-region: drag
- Bind windowMinimize/windowMaximize/windowClose Go functions to JS
- Center system status indicator in title bar

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:20:43 +07:00
taqin
3e432fbb50 Initial commit: Driver Booster Pro - Go + WebView2 desktop app
Windows system utility with driver scanning, Windows Update integration,
and system info collection. Beautiful dark-themed UI via embedded WebView2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:42:34 +07:00