Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python message popup

import ctypes
ctypes.windll.user32.MessageBoxW(button_style*, "Your text", "Your title", icon_stylle)

## Button styles:
# 0 : OK
# 1 : OK | Cancel
# 2 : Abort | Retry | Ignore
# 3 : Yes | No | Cancel
# 4 : Yes | No
# 5 : Retry | No 
# 6 : Cancel | Try Again | Continue

## Icon styles
# 16 Stop-sign icon
# 32 Question-mark icon
# 48 Exclamation-point icon
# 64 Information-sign icon consisting of an 'i' in a circle
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python #message #popup
ADD COMMENT
Topic
Name
6+1 =