This is how standard dialog boxes can be used. The parameter behind "p" is the "id" which will be returned in a event. These id's should be negative in order to distinguish them from normal widgets. Of course for better reading you should make a define for each "id".
pvMessageBox will return a SLIDER_EVENT with the clicked button. The other dialogs will return a TEXT_EVENT.
|