| |
|
|
- Page 1 - |
|
Roberto | good day I need time again Help. i will make, that if I on one Image click a File opened becomes. How could I the make. here my bisheriger code
declare passwindow&,e%
Windowtitle RHP windows
Window 50,20 - 800,600
startpaint passwindow&
LoadBMP RHPVISTA.BMP,54,69;0
LoadBMP groin.BMP,54,586;0
LOADBMP START.BMP,54,586;0
endpaint
whilenot e%
WaitInput
if Clicked 54,586;0
LoadBMP RHPVISTA.BMP,54,69;0
Waitinput
end
|
|
|
| Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^ | 02/19/09 ▲ |
|
|
|
| |
|
- Page 4 - |
|
|
Paul Glatz | with my GIF works it and with BMP |
|
|
| |
|
|
|
Roberto | Lalala... and again trouble. I have in my code now one new if mouse made. the should the program close. But if I then end hinschreib close itself the Program simply so. CompileMarkSeparationdeclare passwindow&,e%,i%
Windowtitle RHP Système dexploitation
Window 50,20 - 800,600
LoadBMP Leiste.BMP,0,518;0
LOADBMP START.BMP,0,519;0
LOADBMP AUSSCHALTEN.BMP,724,514;-1
repaint
whilenot e%
if Mouse(0,724 - 30,514+33)
endif
whilenot e%
WaitInput
if Mouse(0,518 - 99,518+30)
endif
if i% = 1 Ist das Startmenu offen
cls
LoadBMP Leiste.BMP,0,518;-1
LOADBMP START.BMP,0,519;-1
LOADBMP AUSSCHALTEN.BMP,724,514;-1
repaintneu malen
i% = 0Starmenu zu
elseif i% = 0 es ist zu!
LoadBMP STARTPUSHED.BMP,0,23;0
repaintneu malen
i% = 1 Startmenu offen
endif
endif
endwhile
54 = X oben links (X1)
586 = Y oben links (Y1)
153 = X unten rechts (X2)
616 = Y unten Rechts (Y2)
if Mouse(0,724 - 30,514+ class=s2>33)
|
|
|
| Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^ | 02/20/09 ▲ |
|
|
|
|
Paul Glatz | Please: CompileMarkSeparationdeclare passwindow&,e%,i%
Windowtitle RHP Système dexploitation
Window 50,20 - 800,600
LoadBMP Leiste.BMP,0,518;0
LOADBMP START.BMP,0,519;0
LOADBMP AUSSCHALTEN.BMP,724,514;-1
repaint
whilenot e%
whilenot e%
WaitInput
if Mouse(0,518 - 99,518+30)
if i% = 1 Ist das Startmenu offen
cls
LoadBMP Leiste.BMP,0,518;-1
LOADBMP START.BMP,0,519;-1
LOADBMP AUSSCHALTEN.BMP,724,514;-1
repaintneu malen
i% = 0Starmenu zu
elseif i% = 0 es ist zu!
LoadBMP STARTPUSHED.BMP,0,23;0
repaintneu malen
i% = 1 Startmenu offen
endif
endif
if Mouse(724+32,514+3 - 724+63,514+34)
end
endif
endwhile
54 = X oben links (X1)
586 = Y oben links (Y1)
153 = X unten rechts (X2)
616 = Y unten Rechts (Y2)
if Mouse(0,724 - 30,514+ class=s2>33)
|
|
|
| |
|
|
|
Roberto | OMG How find You The Coordinates out |
|
|
| Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^ | 02/20/09 ▲ |
|
|
|
|
Paul Glatz | |
|
| |
|
|
|
Roberto | so badger Have I again the trouble with the Coordinates. if I the anklicke standing To little parameter. what are parameter? CompileMarkSeparationdeclare passwindow&,e%,i%
Windowtitle Arbeitsplatz
Window 50,20 - 450,350
loadbmp festplatte.bmp,10,10;0
waitinput
whilenot e%
whilenot e%
WaitInput
if Mouse(10,10 + 33,10+33)
windowtitle (R)
Window 50,20 - 450,350
| | | Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^ | 02/20/09 ▲ |
| |
| | | The pair The behind whom Dingern stand The to whom Dingern stand The behind it stand!
commands parameter1,parameter2... function(parameter1,parameter2...) |
| | | | |
| | Paul Glatz | You Mouse(x1,y1 - x2,y2) instead of Mouse(x1,y1 + x2,y2) write
here's one hopefully richtiger code: CompileMarkSeparation |
| |
| | Rolf Koch |
OMG How find You The Coordinates out
*lol* Robin, I faith I said already, that the Object Creator (which you allegedly To tricky is) much can. Mouse-Coordinates are under so-called Hotspots. simply You can and Size wander and there is then everything in the Source on Koordianten. but I can Yes none force |
| | | | |
| | | @Robin: you have any Computerbildschirmkoordinaten in the head if you know, that these always in X (left to right) and Y (supra down) indicated go - with which 0,0 means supra left is and 1024,768 is often under right on the screen.
setPixel maxx |
| | | | |
| | Roberto | OK I lad me whom Object Creator down |
| | | Ich bin neu hier also Verurteilt mich nicht für meine fragen.^^ | 02/20/09 ▲ |
| |
| | | The is really class, have me whom first neulig again loaded and was astonishes How very this itself too correct has - respect! |
| | | | |
|
AnswerTopic-Options | 25.652 Views |
Themeninformationenthis Topic has 5 subscriber: |