MessageRequester Icon Flag

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

MessageRequester Icon Flag

Post by IdeasVacuum »

If the MessageRequester is asking a question (#PB_MessageRequester_YesNo, #PB_MessageRequester_YesNoCancel), shouldn't it be matched-up with a questionmark icon like Windows #MB_ICONQUESTION?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: MessageRequester Icon Flag

Post by mk-soft »

+1 :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: MessageRequester Icon Flag

Post by Dude »

Yes, there really should be a #PB_MessageRequester_Question flag, to accompany the other existing flags.

In the meantime, you can do it like this:

Code: Select all

MessageRequester("Question","How old are you?",#MB_ICONQUESTION)
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: MessageRequester Icon Flag

Post by davido »

@IdeasVacuum,
Good point. So. . .

+1
DE AA EB
Post Reply