Win32Lib & bitBlt & error 436
------=_NextPart_000_000D_01C08008.819E41E0
charset="iso-8859-1"
Hello Win32lib Coders
Can someone explain why I get an error with the following Code?
</snip>
constant=20
ShapedWin =3D create( Window, "Window", 0, centerX(530), centerY(420), =
530, 400, 0 )
integer pbutup_bm
pbutup_bm =3D create( Pixmap, "", 0, 348, 90, 448, 120, 0 )=20
=20
bitBlt( pbutup_bm,
0, 0, =20
ShapedWin,=20
348, 90, =20
100, 30, =20
SRCCOPY )=20
Error 436
getRect:GetObject for bitmap failed
------=_NextPart_000_000D_01C08008.819E41E0
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello Win32lib Coders</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can someone explain why I get an error =
with the=20
following Code?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></snip></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>constant </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ShapedWin =3D create( Window, "Window", =
0,=20
centerX(530), centerY(420), 530, 400, 0 )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>integer pbutup_bm</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>pbutup_bm =3D create( Pixmap, "", 0, =
348, 90,=20
448, 120, 0 ) <BR> <BR> bitBlt(=20
; =20
0,=20
; =20
348,=20
=20
100,=20
30, <BR> =
=20
SRCCOPY ) </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Error 436</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>getRect:GetObject for bitmap=20
------=_NextPart_000_000D_01C08008.819E41E0--
|
Not Categorized, Please Help
|
|