Can you add the icon constants to the 'MessageRequester'?
I think it would be as easy as adding the constant definitions and adding them to the help file.
Here is the list the need to be made into PureBasic equivalents:
To display an icon in the message box, specify one of the following values.
MB_ICONEXCLAMATION
An exclamation-point icon appears in the message box.
MB_ICONWARNING
An exclamation-point icon appears in the message box.
MB_ICONINFORMATION
An icon consisting of a lowercase letter i in a circle appears in the message box.
MB_ICONASTERISK
An icon consisting of a lowercase letter i in a circle appears in the message box.
MB_ICONQUESTION
A question-mark icon appears in the message box.
MB_ICONSTOP
A stop-sign icon appears in the message box.
MB_ICONERROR
A stop-sign icon appears in the message box.
MB_ICONHAND
A stop-sign icon appears in the message box.
PB wrote:> What's wrong with using them as they are?
That's what I was wondering... they work just fine with MessageRequester.
They probably won't work under Linux, Mac or Amiga. Better to have PureBasic-ified constants (which would also imply that the command will check for and handle them) such as #PB_MessageRequester_Exclamation.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
PB wrote:> What's wrong with using them as they are?
That's what I was wondering... they work just fine with MessageRequester.
They probably won't work under Linux, Mac or Amiga. Better to have PureBasic-ified constants (which would also imply that the command will check for and handle them) such as #PB_MessageRequester_Exclamation.
This is exactly what I was meaning. Sorry for being unclear.