int setDialogStyle(int flags)
Returns the previous settings of the flags as an integer if the function succeeds. Returns zero if it failed.
Sets (or enables) a particular style on a dialog. For example, you can change the window border to a thin style using WS_BORDER, or to a thick resizeable border using WS_THICKFRAME. The [window style flags are defined at MSDN]. You can clear these settings later using (clearDialogStyle)?.
Internally, SetDialogStyle is a wrapper around the [SetWindowLong Win32 API function] with GWL_STYLE as the second parameter.
// Change the border to a thin style setDialogStyle(WS_BORDER);
setDialogStyleEx, (clearDialogStyle)?, (clearDialogStyleEx)?