Page 2 of 2

Posted: Fri Jan 27, 2006 11:20 pm
by PB
> (that's from Lake Placid, an excellent movie imo)

Agreed. :) And Bridget Fonda... mmm! :D

Posted: Fri Jan 27, 2006 11:26 pm
by netmaestro
SHHH... You have new pictures of Bridget...

Posted: Sat Jan 28, 2006 12:43 am
by Sparkie
@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)

Posted: Sat Jan 28, 2006 2:20 am
by netmaestro
@PB: oops that last post from Sparkie nails you to the wall:

#QuickNQuiet = $C0
MessageRequester("Shh","Quiet Message",#QuicknQuiet)

Posted: Sat Jan 28, 2006 7:12 am
by Sparkie
It wasn't me PB, honest....netmaestro did it! :P

Posted: Sat Jan 28, 2006 7:57 am
by Dare2
lol. :D

Posted: Sat Jan 28, 2006 8:55 am
by PB
> @PB: oops that last post from Sparkie nails you to the wall

:shock: I stand corrected! Sparkie really knows his stuff!