Commit Graph
4 Commits
Author SHA1 Message Date
Ray Bennett bb3844ff88 feat: answer SHGetStockIconInfo with the system icons (#29)
Qt's QMessageBox and QFileDialog ask shell32 for the warning,
information, error and question icons, and the program ends when the
call is missing. The stock icons now map to the matching IDI_ system
icon, loaded at the large or small size with SHGSI_ICON, and the
structure reports the icon's index and user32.dll as its file. The
structure is laid out for the caller's width (0x220 bytes for 64-bit
programs, 0x218 for 32-bit ones), and one of another size is refused
with E_INVALIDARG.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: Wrote the implementation from the documented SHSTOCKICONINFO
 layout and SIID_/SHGSI_ values, and the 32- and 64-bit
 stock_icon_client fixture. Prompt: a Qt program exits when it shows a message box.
2026-10-28 16:50:22 +01:00
mirkobrombin 4259bc0a56 feat: show the cursor programs choose on the host pointer 2026-10-26 06:11:52 +00:00
Mirko Brombin e13eea49f6 feat: add system icons, virtual key mapping for typed characters, heap shim for message boxes 2026-08-01 03:13:22 +02:00
Mirko Brombin 40f25357c1 feat: add desktop window, GDI, cursor and accelerator services for x86 programs 2026-07-31 18:46:24 +02:00