hwndParent (HWND) - input

      Parent-window handle of the message-box window to be created.

      HWND-DESKTOP

        The message box is to be main window.
      Other
        Parent-window handle.

      hwndOwner (HWND) - input

        Requested owner-window handle of the message-box window to be created.

        The actual owner window is calculated using the algorithm specified in the description of the WinLoadDlg function.

      pszText (PSZ) - input

        Message-box window message.

        The text of the message to be displayed within the message-box window. If multiple lines are required, carriage-return characters must be inserted into the text at appropriate points.

      pszTitle (PSZ) - input

        Message-box window title.

        The text for the title should not be longer than 40 characters. If text longer than this is supplied, text centering is still performed, even though the beginning and end of the string are not visible.

        A value if NULL indicates that the text "Error" is to be displayed as the title of the message-box window.

      ulWindow (ULONG) - input

        Message-box window identity.

        This value is passed to the HK_HELP hook if the WM_HELP message is received by the message-box window.

      pmb2info (PMB2INFO) - input

        Input structure for mesage-box window.

      ulButtonId (ULONG) - returns

        Id of the button that was clicked, or MBID_ERROR.


      [Back] [Next]