Agreed.
dingless requester
- netmaestro
- PureBasic Bullfrog

- Posts: 8453
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
SHHH... You have new pictures of Bridget...
Last edited by netmaestro on Tue Feb 21, 2006 7:31 pm, edited 2 times in total.
BERESHEIT
@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)
@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
PB 5.21 LTS (x86) - Windows 8.1
- netmaestro
- PureBasic Bullfrog

- Posts: 8453
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
@PB: oops that last post from Sparkie nails you to the wall:
#QuickNQuiet = $C0
MessageRequester("Shh","Quiet Message",#QuicknQuiet)
#QuickNQuiet = $C0
MessageRequester("Shh","Quiet Message",#QuicknQuiet)
Last edited by netmaestro on Tue Feb 21, 2006 7:33 pm, edited 2 times in total.
BERESHEIT