# Dialog Constants

> The dialog constant values, and the button combination each one shows.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/addendum/dialog-constants/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

|   **Value** | **Description**                                                 |
|------------:|:----------------------------------------------------------------|
|           0 | Show **OK** button                                         |
|           1 | Show **OK** and **Cancel** buttons                    |
|           2 | Show **Abort**, **Retry** and **Ignore** buttons |
|           3 | Show **Yes**, **No** and **Cancel** buttons      |
|           4 | Show **Yes** and **No** buttons                       |
|           5 | Show **Retry** and **Cancel** buttons                 |

### Following values will be returned in giValue, when using [Sys_BreakthruMsgBox](/capainstaller/vb-scripting-library/system-functions/sys-breakthrumsgbox/)

| **Constant**   |   **Value** | **Description**                |
|:---------------|------------:|:-------------------------------|
| VbOK           |           1 | **OK** button was clicked.     |
| VbCancel       |           2 | **Cancel** button was clicked. |
| VbAbort        |           3 | **Abort** button was clicked.  |
| VbRetry        |           4 | **Retry** button was clicked.  |
| VbIgnore       |           5 | **Ignore** button was clicked. |
| VbYes          |           6 | **Yes** button was clicked.    |
| VbNo           |           7 | **No** button was clicked.     |

### Constants for Icon-style

|   Value | Description                      |
|--------:|:---------------------------------|
|      16 | Show "**Stop Mark**" icon        |
|      32 | Show "**Question Mark**" icon    |
|      48 | Show "**Exclamation Mark**" icon |
|      64 | Show "**Information Mark**" icon |
