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>
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>
- 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
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