flStyle (ULONG)

      Icon style flags.

      Possible values are described in the following list:

      MB_APPLMODAL

        Message box is application modal. This is the default case. Its owner is disabled; therefore, do not specify the owner as the parent if this option is used.
      MB_ERROR
        Message box contains a stop sign with a white background.
      MB_ICONASTERISK
        Message box contains a asterisk icon.
      MB_CUSTOMICON
        Message box contains a custom icon specified in hIcon.
      MB_ICONEXCLAMATION
        Message box contains a exclamation point icon.
      MB_ICONHAND
        Message box contains a hand icon.
      MB_ICONQUERY
        Message box contains a question mark in a box.
      MB_ICONQUESTION
        Message box contains a question mark icon.
      MB_INFORMATION
        Message box contains a black "i" in a box.
      MB_MOVEABLE
        Message box is moveable.

        The message box is displayed with a title bar and a system menu, showing only the Move, Close, and Task Manager choices, which can be selected either by use of the pointing device or by accelerator keys.

      MB_NOICON
        Message box does not contain an icon.
      MB_NONMODAL
        Message box is nonmodal (the program continues after displaying the nonmodal message box).

        The message box remains visible until the owner window destroys it. Two notification messages, WM_MSGBOXINIT and WM_MSGBOXDISMISS, are used to support this non-modality.

      MB_SYSTEMMODAL
        Message box is system modal.
      MB_WARNING
        Message box contains a black "!" in a box.


      [Back] [Next]