Message Requester

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Message Requester

Post by IdeasVacuum »

In addition to the current Message Requester Options:
#PB_MessageRequester_YesNo : to have 'yes' and 'no' buttons
#PB_MessageRequester_YesNoCancel : to have 'yes', 'no' and 'cancel' buttons
#PB_MessageRequester_Ok : to have the 'ok' only button
These are often seen in apps and in Windows OS:
#PB_MessageRequester_YesYesToAll : to have 'yes' and 'yes to all' buttons
#PB_MessageRequester_NoNoToAll : to have 'no' and 'no to all' buttons
#PB_MessageRequester_YesYesToAllCancel : to have 'yes', 'yes to all' and 'cancel' buttons
#PB_MessageRequester_NoNoToAllCancel : to have 'no', 'no to all' and 'cancel' buttons
#PB_MessageRequester_YesYesToAllNoNoToAllCancel : to have all yes/no permutations
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Message Requester

Post by PB »

It doesn't support them because they're not cross-platform.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Message Requester

Post by IdeasVacuum »

It doesn't support them because they're not cross-platform.
There are many things that are not cross-platform. The team either roll their own cross-platform version or make a note in the Help - so this would be no different.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Message Requester

Post by Danilo »

IdeasVacuum wrote:These are often seen in apps and in Windows OS:
#PB_MessageRequester_YesYesToAll : to have 'yes' and 'yes to all' buttons
#PB_MessageRequester_NoNoToAll : to have 'no' and 'no to all' buttons
#PB_MessageRequester_YesYesToAllCancel : to have 'yes', 'yes to all' and 'cancel' buttons
#PB_MessageRequester_NoNoToAllCancel : to have 'no', 'no to all' and 'cancel' buttons
#PB_MessageRequester_YesYesToAllNoNoToAllCancel : to have all yes/no permutations
Maybe it is custom dialog boxes? MessageBox() does not define "YesToAll" or "NoToAll".
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Message Requester

Post by IdeasVacuum »

I don't know what the name of the control is - could indeed be custom, but there seems to be a lot around that are the same - maybe they are based on an MSDN custom example somewhere.

Anyway, thinking about it, the list for MessageRequester() features is never-ending, and no matter what Fred bolts-on, there will always be something else needed by somebody - So I think this request is Null and Void. If we want a Requester that is different from the standard one, we just have to code it ourselves.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Message Requester

Post by PB »

> Anyway, thinking about it, the list for MessageRequester() features is never-ending,
> and no matter what Fred bolts-on, there will always be something else needed by
> somebody - So I think this request is Null and Void

LOL, you just posted what I said about MessageRequester flags over a decade ago:

http://www.purebasic.fr/english/viewtop ... 259#p10259

Good to see you realised the problem. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply