Checking #PB_MessageRequester_YesNoCancel

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.

Most of the advanved programmers in here either just use an IF condition to check if an operation has failed and don't worry about the rest but, for those of you who want extra conditions to the "#PB_MessageRequester_YesNoCancel" flag of the requester functions you may want to know that:

Pressing YES returns 6
Pressing NO returns 7
Pressing CANCEL returns 2

This may not sound like much bit I find it more useful to have more choices (and it's not in the manual that I could see :):)

Fangles