dialog_style


This structure contains dialog template styles. The following enumerators are defined within the scope of the structure dialog_style.

align_absolute 0x01 The dialog coordinates are interpreted as screen coordinates.
system_modal 0x02 The extended style StyletopMost is applied to keep the dialog uppermost on the desktop.
local_edit 0x20 Causes local allocation of memory for edit fields. This style is not applicable to 32 bits windows applications.
set_font 0x40 The dialog window uses a specified font in place of the system font to draw text in the client area of the window and in the controls within the dialog. The message message::set_font is sent to the dialog function and to each control as it is being created. The width of characters in the font is used to determine the positioning of the controls.
modal_frame 0x80 A modal dialog frame is drawn around the window. The extended style StyleModalFrame is applied to the window.
no_idle_message 0x100 The message message::enter_idle is not sent to the owner.
set_foreground 0x200 Causes the dialog window to be brought to the foreground. This is useful for modal dialogs requiring an immediate response depite being initiated by an owner in the background.
three_d_look 0x0004 Yields a non-bold font and draws 3 dimensional borders around control windows in the dialog box.
fixed_system 0x0008 Causes the dialog box to use the font standard_font::FixedSystem instead of the default standard_font::System.
no_fail_create 0x0010 creates the dialog box even if errors occur.
control 0x0400 creates a dialog box that works well as a child window of another dialog box (like a page in a property sheet). This style allows the user to tab amongst the control windows of a child dialog box and use its accelerator keys.
center 0x0800 Centers the dialog box in the working area, which is the area not obscured by the tray.
center_mouse 0x1000 Centers the mouse cursor in the dialog box.
context_help 0x2000 Includes a question mark in the title bar of the dialog box. When the user clicks the question mark, the cursor changes to a question mark with a pointer. If the user then clicks a control in the dialog box, the control receives the message message::help. The control should pass the message to the dialog box procedure, which should call the function win_help.