AG_WALLPAPER Parameter DLGID

AG_WALLPAPER enhancement: A new dlgid parameter on the command allows wallpaper to be applied to dialogs:

? TAB(-10,AG_WALLPAPER); imagespec$ {,flags {,dlgid}}; chr(127);

For dialogs, flags must be 0. The only valid operation is to set the wallpaper to the dialog; it is destroyed when the dialog is deleted. But unlike the case with main window wallpaper, for dialogs, the imagespec$ can be any image type recognized by AUI_CONTROL. JPG is probably the best option here.

The dlgid parameter may either be the numeric or alphanumeric identifier for the dialog. If dlgid is zero or omitted, the command works on the main window as before.

In most cases, you will want to create the dialog with the bgc parameter set to RGB_TRANSPARENT, else the background of static text controls will cover that portion of the wallpaper.