| |
|
|
 | Ich sehe als Ausgabe nur ein schwarzes Quadrat, eigentlich sollte ein Bildausschnitt dort erscheinen. Was mache ich für einen Fehler?
mfg KompilierenMarkierenSeparierendeclare hbild&
declare bild1$
Window 20,20-800,600
Cls @RGB(220,220,220)
bild1$=tile1.bmp
loadbmp bild1$,0,0;0
hbild&=create(hpiccopy,%hwnd,100,100,100,100)
startpaint %hwnd
drawpic hbild&,400,200;0
endpaint
waitkey
end
|
|
|
| |
|
|
|
 Jörg Sellmeyer | KompilierenMarkierenSeparierendeclare hbild&
declare bild1$
Window 20,20-800,600
Cls @RGB(220,220,220)
bild1$=tile1.bmp
loadbmp bild1$,0,0;0
Var bild& = Create(hPic,-1,bild1$)!!!!
hbild&=create(hpiccopy,bild&,100,100,100,100)
drawpic hbild&,100,200;0
waitkey
end
Das sagt die Hilfe zu hPicCopy:
N: LongInt: Handle der Quell-Bitmap |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 28.02.2009 ▲ |
|
|
|
|
 | |
|
| |
|
|