Error will an error message to the user. Returns an error if something went wrong.
(caption string, title string)
| 136 | // Error will an error message to the user. |
| 137 | // Returns an error if something went wrong. |
| 138 | func Error(caption string, title string) error { |
| 139 | var flags uint = 0x00000010 // MB_ICONERROR |
| 140 | _, err := MessageBox(caption, title, flags) |
| 141 | return err |
| 142 | } |
| 143 | |
| 144 | // MessageBox prompts the user with the given caption and title. |
| 145 | // Flags may be provided to customise the dialog. |
no test coverage detected
searching dependent graphs…