- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to show message box with OK and CANCEL buttons and type WARNING
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How to show message box with OK and CANCEL buttons and type WARNING
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
A messagebox can display information to a user. There are three ... "Error message") messagebox.showwarning("Warning","Warning message"). 15.8.2. Yes/No Questions¶. The tkinter messagebox object also allows you to ask a user simple yes/no type questions and varies the button names based on the type of question.
box is a special dialog box that is displayed in a graphical user interface when ... A dialog created this way will contain a yellow triangle warning symbol .
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
As mentioned in installscript MessageBox documentation, you can use multiple style values supported by Windows MessageBox API for type field using logical OR operator (|).
For your case, you can use it like below.
MessageBox("Test", 0x00000004 | 0x00000030);
For supported styles, refer below msdn documentation of MessageBox API
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox