PDA

View Full Version : message-buttons-popup-wonder :)



Lionheart008
15-01-2009, 00:05
hi,

by chance I have found some minutes before a new, very easy way to write messages with changing only the number after text input in codeline :)

one example here:


'- found this very interesting code by exploring the messagebox :-D, lionheart 15.jan2009

msgbox 0, "Shows different 'button messages' only by changing\n
numbers [00]-[06] or 0-6 after text input :-)",03, %MB_ICONINFORMATION

I have collect all possibilities of window popup message boxes with buttons... there are seven numbers (0-6) or (00-06) they are running :-D

I found this little code snippets very useful and send here all scripts as zip file...

you can try this one to check it in a very simple way:


msgbox 0, "Thinbasic is great!",06, %MB_ICONINFORMATION


good evening, must laugh :-D, Lionheart

ps: what does the "64" in windows title mean???

ErosOlmi
15-01-2009, 08:48
Nothing secret :)

MSGBOX styles are listed in help file: http://www.thinbasic.com/public/products/thinBasic/help/html/coreequates.htm

Different MSGBOX Styles can indicated with OR:

%MB_YESNOCANCEL OR %MB_ICONQUESTION
and so on. MsgboxStyle parameter is just a bit flags variable.

Ciao
Eros