Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:docs:win16:api:user:messagebox [2026/03/16 04:56] – prokushev | en:docs:win16:api:user:messagebox [2026/03/17 02:25] (current) – prokushev | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * hWnd - Handle to the owner window of the message box to be created. If this parameter is **NULL**, the message box has no owner window. | * hWnd - Handle to the owner window of the message box to be created. If this parameter is **NULL**, the message box has no owner window. | ||
| - | * lpText - Pointer to a null-terminated string containing the message to be displayed. | + | * lpText - Pointer to a null-terminated string containing the message to be displayed. If the string consists of more than one line, you can separate the lines using a carriage return and/or linefeed character between each line. |
| * lpCaption - Pointer to a null-terminated string used for the dialog box title. If this parameter is **NULL**, the default title " | * lpCaption - Pointer to a null-terminated string used for the dialog box title. If this parameter is **NULL**, the default title " | ||
| * uType - Contains a set of bit flags that determine the content and behavior of the dialog box. This parameter can be a combination of flags from the following groups: | * uType - Contains a set of bit flags that determine the content and behavior of the dialog box. This parameter can be a combination of flags from the following groups: | ||
| Line 57: | Line 57: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | * In Windows 16 (Janus), the system supports only a limited number of message boxes simultaneously. | + | * The system supports only a limited number of message boxes simultaneously. |
| * When using the **MB_SYSTEMMODAL** flag, the message box appears on top of all windows and is typically used for critical errors requiring immediate user attention. | * When using the **MB_SYSTEMMODAL** flag, the message box appears on top of all windows and is typically used for critical errors requiring immediate user attention. | ||
| * If a message box is created without an owner window (hWnd = NULL), it behaves as an independent window. | * If a message box is created without an owner window (hWnd = NULL), it behaves as an independent window. | ||




