| DialogNewSimple | Function (Macro)

dialogs.h

HANDLE DialogNewSimple (short width, short height);

Creates a new dialog box.

DialogNewSimple allocates memory for a dialog box with dimensions width x height, initializes allocated block with necessary structures and returns a handle to it (or H_NULL in case of error). This routine may cause heap compression. DialogNewSimple in fact calls DialogNew with NoCallBack as third parameter.
Note: You can later free the memory by calling HeapFree.

Uses: DialogNew, NoCallBack