dingless requester

Just starting out? Need help? Post your questions and find answers here.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> (that's from Lake Placid, an excellent movie imo)

Agreed. :) And Bridget Fonda... mmm! :D
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

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
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post 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)
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

@PB: oops that last post from Sparkie nails you to the wall:

#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
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

It wasn't me PB, honest....netmaestro did it! :P
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

lol. :D
@}--`--,-- A rose by any other name ..
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> @PB: oops that last post from Sparkie nails you to the wall

:shock: I stand corrected! Sparkie really knows his stuff!
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply