Commit Graph
2 Commits
Author SHA1 Message Date
Claude f78668d41b Close the MFC 7-10 gaps: CImage, CFileTime, Wizard97, CDialogEx, CTaskDialog
atltime.h: CTime and CTimeSpan move into the headers, as in MFC 7 (afx.h
includes it, and ATL::CTime names them too), with CFileTime and
CFileTimeSpan. Programs without MFC have them.

atlimage.h: CImage. DIB sections made (any depth, bottom-up or
top-down, bit fields), attached and detached; drawn with BitBlt,
StretchBlt, AlphaBlend, TransparentBlt, MaskBlt, PlgBlt and Draw;
pixels, color tables and a transparent color; BMP, GIF, JPEG, PNG and
TIFF loaded and saved through GDI+ (files and streams, the format by
GUID or extension), with the file dialogs' filter strings. GDI+ starts
on first use.

afxdlgs.h: CPrintDialogEx over PrintDlgEx; Wizard97 headers and
watermarks through CPropertySheetEx and CPropertyPageEx and MFC 7's
constructors on CPropertySheet and CPropertyPage (each page in its
own structure size). afxdllx.h for AppWizard's extension DLLs.

afxdialogex.h: CDialogEx with a background color or bitmap.
afxtaskdialog.h (from afxwin.h): CTaskDialog over TaskDialogIndirect,
found at run time, so programs still start on 2000 and XP, where
DoModal shows a message box.

The portable layer gains PrintDlgEx (over its print dialog), the
property sheet V2 sizes and ShellExecute (open or xdg-open).

atlutiltest covers the times and CImage; dlgtest a Wizard97 wizard,
CPrintDialogEx, CDialogEx's background read back from the screen, and
a CTaskDialog that drives itself from its timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUqfQ3sTcDCMdNCGGs
2026-11-18 19:04:26 +00:00
Claude d22d540309 GUI tests under Wine: dialog/property sheet and SDI programs
Adds self-driving test programs (dialog with DDX and common controls,
property sheet, SDI frame with toolbar, status bar and edit view) and a
script that builds them in ANSI and Unicode and runs them under Wine.

Fixes found by the tests: views fill the frame's leftover space exactly,
flat toolbars paint their own background, property sheets return IDOK
when applied, and the Unicode library also provides WinMain.

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