Commit Graph
4 Commits
Author SHA1 Message Date
Claude d6af8906d2 mditest: update the preview bar before checking its buttons
The Next button is disabled by the idle-time command update. On a busy
runner the next 250 ms timer can be waiting when the preview opens, so
no idle time comes between the steps and the button still showed its
old state. The step now sends WM_IDLEUPDATECMDUI itself, as the idle
time does, before it checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRw4kkFHrrHRhkcuLw
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-20 16:48:53 +00:00
Claude a41764081b Portable layer: status bar, toolbar and tooltips
The common control classes msctls_statusbar32, ToolbarWindow32 and
tooltips_class32 with their messages and notifications, plus
CreateStatusWindow, DrawStatusText, CreateToolbarEx, MenuHelp,
GetEffectiveClientRect, ShowHideMenuCtl, the drag list functions, and
the window subclassing helpers (SetWindowSubclass and the rest).

The SDI and MDI test programs now run natively up to print preview.
Their logs print LONG values with %d, which fits LONG on Windows and on
LP64 systems alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRw4kkFHrrHRhkcuLw
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-11 17:30:56 +00:00
Claude d9a4a1ae3e afxpriv.h, afxadv.h, afxconv.h/atlconv.h, afxres.rc and afxprint.rc
- atlconv.h: CA2W, CW2A and the T/OLE forms with code pages, and the
  USES_CONVERSION macros (A2W, T2A, OLE2T, A2BSTR, ...).
- afxadv.h: CSharedFile, a memory file in global memory.
- afxres.rc and afxprint.rc, generated from the library's built-in
  strings (tools/gen-rc.py), for resource scripts that include them.
- oleaut32 is linked automatically.
- MDI print preview test (in-memory toolbar), and the SDI test now
  includes afxres.rc and afxprint.rc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-06 16:52:15 +00:00
Claude 464df5fa79 MDI test, picolibc sysroot support
Adds an MDI test program (split child frames with a form view and a
scroll view, several documents, Window menu commands) and fixes what it
found: splitters lay out their panes once the frame sizes them, and MDI
frame titles put the application name first.

Builds with win32-sdk's clang config files (make CFG=...), including
the picolibc sysroot: a fallback <tchar.h>, and a main() for start-up
code that only calls WinMain when the program defines it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-06 16:04:17 +00:00