Pop up a message box
int PtMessageBox( PtWidget_t *parent, char const *title, char const *question, char const *font, char const *btn );
ph
This function displays the message specified by question, blocking input to the specified parent widget until the message has been acknowledged. If no parent is specified, blocking won't occur, but the message will persist until it's acknowledged. If specified, the parent widget must be a window.
The other arguments are:
This function returns immediately.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApError(), PfGenerateFontName(), PtAlert(), PtNotice(), PtPrompt()
“Dialog modules” in the Working with Modules chapter of the Photon Programmer's Guide