Playing around with IUP got me to thinking that a PowerBasic DDT emulation could be done (and extended) with an IUP wrapper include.
Create
DIALOG NEW - create new dialog (does not display)
DIALOG SHOW MODAL - display/activate dialog (modal)
DIALOG SHOW MODELESS - display/activate dialog (modeless)
DIALOG END - close and destroy a dialog
Set Properties
DIALOG SET CLIENT - set width/height of dialog client area
DIALOG SET LOC - set upper/left position of dialog
DIALOG SET SIZE - set width/hight of dialog
DIALOG SET TEXT - set dialog caption
DIALOG SET USER - set 1 of 8 user dialog values
DIALOG SET COLOR - set dialog background color (RGB)
DIALOG SET ICON - change dialog icon
DIALOG STATE - change visible state of dialog
Get Properties
DIALOG GET CLIENT - get width/height of dialog client area
DIALOG GET LOC - get upper/left location of dialog
DIALOG GET SIZE - get width/height of dialog
DIALOG GET TEXT - get dialog caption
DIALOG GET USER - get 1 of 8 user data dialog values
DIALOG UNITS - convert dialog units to pixels
DIALOG PIXELS - convert pixels to dialog units
Run-Time Management
DIALOG DISABLE - disable dialog (cannot receive mouse/keyboard messages)
DIALOG DOEVENTS - process messages, sleep, relinquish time slice
DIALOG POST - send message to dialog, continue without waiting
DIALOG SEND - send message to dialog, wait until complete
DIALOG REDRAW - direct dialog/child controls to redraw
What do you think Charles?