@netmaestro: You're welcome.
@PB: Thank you
I was at work when I posted that code so I had to
post-n-run without providing any information. The key to the silence is the #MB_USERICON flag in the mbp\dwStyle member.
Here are the valid flags for dwStyle...
#MB_YESNO (same as #PB_MessageRequester_YesNo)
#MB_YESNOCANCEL (same as #PB_MessageRequester_YesNoCancel)
#MB_OK (same as #PB_MessageRequester_Ok)
#MB_ABORTRETRYIGNORE
#MB_CANCELTRYCONTINUE (2000/XP only)
#MB_RETRYCANCEL
Here's the list of possible values returned by the procedure...
IDABORT = 3 Abort button was selected.
IDCANCEL = 2 Cancel button was selected. (same as #PB_MessageRequester_Cancel)
IDCONTINUE = 11 Continue button was selected.
IDIGNORE = 5 Ignore button was selected.
IDNO = 7 No button was selected. (same as #PB_MessageRequester_No)
IDOK = 1 OK button was selected.
IDRETRY = 4 Retry button was selected.
IDTRYAGAIN = 10 Try Again button was selected.
IDYES = 6 Yes button was selected. (same as #PB_MessageRequester_Yes)
What goes around comes around.
PB 5.21 LTS (x86) - Windows 8.1