SKETCH OF HOW RESEARCH MIGHT CONTINUE AND RESULTS BE PRESENTED

Options for HTML Dialogs

The exported functions for creating HTML dialog boxes, and also two interface methods, all have a pchOptions argument in which the caller may pass a string to specify options for the dialog box’s appearance. The applicable functions and methods are:

The options string has the same form as for the style attribute in an HTML tag or the body of a CSS selector. Thus, options are separated by semicolons, and each option is an attribute, a colon and a value. The following table lists the supported attributes and values. Microsoft’s documentation of the exported functions refers readers to the documentation of the showModalDialog method, which is here taken as definitive, so that anything not at least noted by Microsoft there is highlighted here.

border thin or thick
center no, off or 0; yes, on, 1 or parent; or desktop
dialogHeight unit value
dialogHide no, off or 0; yes, on, 1; or NotSet
dialogLeft unit value
dialogTop unit value
dialogWidth unit value
edge sunken or raised
FONT style component
FONT-FAMILY string
FONT-SIZE unit value
FONT-STYLE italic, oblique or normal;
or can be empty
FONT-VARIANT small-caps or normal;
or can be empty
FONT-WEIGHT 100, 200, 300, 400, 500, 600, 700, 800, 900, normal, bold, bolder or lighter;
or can be empty
maximize no, off or 0; yes, on, 1; or NotSet
minimize no, off or 0; yes, on, 1; or NotSet
resizable no, off or 0; yes, on, 1; or NotSet
scroll no, off or 0; yes, on, 1; or NotSet
status no, off or 0; yes, on, 1; or NotSet
unadorned no, off or 0; yes, on, 1; or NotSet

Note that maximize, minimize and resizable set whether Maximize, Minimize or Size are enabled on the dialog box’s system menu. Quite how one comes to be documented and the others not is just one of those silly little mysteries that endear Microsoft to every programmer.