home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: Win Best Test 1
/
70001.ZIP
/
70001
/
WINWARE1
/
PROFAN
/
WIN.PRF
< prev
next >
Wrap
Text File
|
1993-09-26
|
3KB
|
84 lines
Declare x1%,x2%
' WindowTitle "Starte Windows-Programme"
Cls
UseBrush 1,@Rgb(31,0,15)
Rectangle 0,0-640,480
TextColor @RGB(15,0,15),-1
UseFont "Helv",48,0,1,1,0
DrawText 251,30,"Starte"
DrawText 132,75,"Windows-Programme"
TextColor @RGB(7,0,0),-1
UseFont "Helv",48,0,1,0,0
DrawText 255,30,"Starte"
DrawText 136,75,"Windows-Programme"
TextColor 0,-1
UseFont "System",0,0,0,0,0
DrawIcon "Knopf1",10,10
CopySizedBmp 10,10 - 32,32 > 10,10 - 64,32;0
DrawText 20,18,"ENDE"
UseBrush 1,32767
Let x1% = 216
Let x2% = 435
RoundRect x1%,144 - x2%,180; 6,6
RoundRect x1%,189 - x2%,225; 6,6
RoundRect x1%,234 - x2%,270; 6,6
RoundRect x1%,279 - x2%,315; 6,6
RoundRect x1%,324 - x2%,360; 6,6
RoundRect x1%,369 - x2%,405; 6,6
UseFont "System",0,0,0,1,0
Let x1% = 249
Let x2% = 171
DrawIcon "WINDOWS",x2%,144
DrawText x1%,153,"Notizblock"
DrawIcon "WINDOWS",x2%,189
DrawText x1%,198,"Windows Write"
DrawIcon "WINDOWS",x2%,234
DrawText x1%,243,"Paintbrush"
DrawIcon "WINDOWS",x2%,279
DrawText x1%,288,"Profan Hilfe-Kartei"
DrawIcon "WINDOWS",x2%,324
DrawText x1%,333,"Rechner"
DrawIcon "WINDOWS",x2%,369
DrawText x1%,378,"System-Editor"
UseBrush 1,@RGB(31,31,16)
Rectangle 30,210 - 144,294
UseFont "System",0,0,0,0,0
DrawText 39,222,"Bitte einen"
DrawText 39,237,"Menⁿpunkt"
DrawText 39,252,"oder ein Icon"
DrawText 39,267,"anklicken!"
WaitForInput:
WaitMouse
Let x1% = 171
Let x2% = 435
Case @Mouse(x1%,144 - x2%,180):Goto "Notepad"
Case @Mouse(x1%,189 - x2%,225):Goto "Write"
Case @Mouse(x1%,234 - x2%,270):Goto "Paintbrush"
Case @Mouse(x1%,279 - x2%,315):Goto "Cardfile"
Case @Mouse(x1%,324 - x2%,360):Goto "Calculator"
Case @Mouse(x1%,369 - x2%,405):Goto "SysEdit"
Case @Mouse( 10, 10 - 65, 41):End
Case @MenuItem(0) :Gosub "NoHit"
Goto "WaitForInput"
NoHit:
MessageBox "Bitte einen Menⁿpunkt anwΣhlen!","HINWEIS:",16
Return
Notepad:
Shell "NOTEPAD.EXE"
Goto "WaitForInput"
Write:
Shell "WRITE.EXE"
Goto "WaitForInput"
Paintbrush:
Shell "PBRUSH.EXE"
Goto "WaitForInput"
Cardfile:
Shell "CARDFILE.EXE PROFAN.CRD"
Goto "WaitForInput"
Calculator:
Shell "CALC.EXE"
Goto "WaitForInput"
SysEdit:
Shell "SYSEDIT.EXE"
Goto "WaitForInput"