Messagebox
Übersicht BlitzBasic Allgemein
sven123Betreff: Messagebox |
Fr, Dez 26, 2003 17:31 Antworten mit Zitat |
|
---|---|---|
Wie geht noch mal unter BB3d der Befehl um eine Messagebox aufzurufen!Aber bitte net der runtimeerror da wird ja das Proggi abgebrochen. | ||
Amd Athlon 2200+,Saphire Atlantis Radeon9800pro,1024 MB DDR RAm,40 Gb Festblatte.
'in shâ'a llâh=so Gott will Fertiges Projekt:Invasion der Heuschrecken |
walskiEhemaliger Admin |
Fr, Dez 26, 2003 17:36 Antworten mit Zitat |
|
---|---|---|
Geht nur mit
entweder: ner DLL oder: der Win API (also auch net DLL, aber die gibt es eben schon) (http://www.activevb.de/rubriken/apikatalog/deklarationen/messagebox.html) walski |
||
buh! |
IonPainter |
Fr, Dez 26, 2003 20:22 Antworten mit Zitat |
|
---|---|---|
messagebox.decls:
Zitat: .lib "user32.dll" MessageBox%(hwnd,lpText$,lpCaption$,wType) : "MessageBoxA" beispiel.bb Code: [AUSKLAPPEN] Const IDABORT = 3 Const IDCANCEL = 2 Const IDCONTINUE = 5 Const IDIGNORE = 5 Const IDNO = 7 Const IDOK = 1 Const IDRETRY = 4 Const IDTRYAGAIN = 4 Const IDYES = 6 Const MB_ABORTRETRYIGNORE$ = $2 Const MB_CANCELTRYCONTINUE$ = $2 Const MB_HELP$ = $4000 Const MB_OK$ = $0 Const MB_OKCANCEL$ = $1 Const MB_RETRYCANCEL$ = $5 Const MB_YESNO$ = $4 Const MB_YESNOCANCEL$ = $3 Const MB_ICONASTERISK$ = $40 Const MB_ICONERROR$ = $10 Const MB_ICONEXCLAMATION$ = $30 Const MB_ICONHAND$ = $10 Const MB_ICONINFORMATION$ = $40 Const MB_ICONQUESTION$ = $20 Const MB_ICONSTOP$ = $10 Const MB_ICONWARNING$ = $30 Const MB_DEFBUTTON1$ = $0 Const MB_DEFBUTTON2$ = $100 Const MB_DEFBUTTON3$ = $200 Const MB_DEFBUTTON4$ = $300 Const MB_APPLMODAL$ = $0 Const MB_SYSTEMMODAL$ = $1000 Const MB_TASKMODAL$ = $2000 Const MB_DEFAULT_DESKTOP_ONLY$ = $20000 Const MB_RIGHT$ = $80000 Const MB_RTLREADING$ = $100000 Const MB_SETFOREGROUND$ = $10000 wert = MessageBox(0,"Was soll ausgegeben werden?","..::Frage::..",MB_YESNO$) Select wert Case IDYES Print "Ja!" Case IDNO Print "Nein! End Select WaitKey |
||
Freeman |
Fr, Dez 26, 2003 21:22 Antworten mit Zitat |
|
---|---|---|
ach funzt winAPI auch bei BB ? wennja könnt ma wer schreiben wie man das hier benutzt? weil ich kannte das von PB und da musste man das so machen : Befehl_
THX |
||
MacBook | MacOSX 10.5 | 80GB HDD | 1GB | BlitzMax 1.28 |
IonPainter |
Fr, Dez 26, 2003 21:44 Antworten mit Zitat |
|
---|---|---|
die decls in nen texteditor kopieren und im userlibs verzeichnis von blitz speichern, fertig | ||
Übersicht BlitzBasic Allgemein
Powered by phpBB © 2001 - 2006, phpBB Group