Dialogs & Controls Standard
Full dialog and control support with DIALOG SHOW MODAL/END, CONTROL ADD, DISPLAY BROWSE/COLOR/FONT/OPENFILE/SAVEFILE, FONT NEW/END, MENU, and ACCEL ATTACH. Real Win32 common dialogs and control creation - not stubs.
Modal Dialogs
DIALOG NEW creates the dialog, CONTROL ADD adds buttons, edit boxes, labels, and other controls, and DIALOG SHOW MODAL hDlg, CALL proc TO result runs it modally with a callback. DIALOG END closes the dialog; the value passed to it is delivered through TO result.
Common Dialogs
Each DISPLAY statement returns its result through TO; a cancelled dialog gives an empty string (DISPLAY COLOR gives -1). DISPLAY OPENFILE/SAVEFILE use GetOpenFileNameA/GetSaveFileNameA. DISPLAY COLOR uses ChooseColorA. DISPLAY FONT uses ChooseFontA. DISPLAY BROWSE uses SHBrowseForFolderA. All real Win32 common dialogs loaded via dynamic library loading.
MENU, FONT, ACCEL
MENU NEW BAR and MENU NEW POPUP create menus, MENU ADD STRING and MENU ADD POPUP fill them, and MENU ATTACH binds the bar to a dialog. FONT NEW/FONT END create and release a font. ACCEL ATTACH installs an accelerator table. All loaded dynamically via LoadLibraryA/GetProcAddress for comdlg32, user32, gdi32, and shell32.