Win32Lib & bitBlt & error 436

new topic     » topic index » view thread      » older message » newer message

------=_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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;/snip&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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,&nbsp; 120, 0 ) <BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;bitBlt(=20
;&nbsp;&nbsp;&nbsp;=20
0,=20
;&nbsp;&nbsp;&nbsp;&nbsp;=20
348,=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
100,=20
30,&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;=20
SRCCOPY )&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Error 436</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>getRect:GetObject for bitmap=20

------=_NextPart_000_000D_01C08008.819E41E0--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu