createDIB() possible error in Win32Lib

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

------=_NextPart_000_0022_01BED15D.C9FE4300
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

David, or others who know what I'm talking about,

I have had problems with the createDIB function.  To test it, I messed =
around by making a box that was the upper 1/2 red and the lower 1/2 =
blue.  What I got was a mostly red box with 2 little blue lines going =
from the bottom and only 3-4 pixels tall from the right.  Also, if you =
take the bitmap I use in my toolbar for the button being in the "Raised" =
position, and put it in the {{1,1,1,1},{1,1,1,1}} format, with gray =
being color 1, black being color 2, and white being color 3...and the =
palette being {{208,208,208},{0,0,0},{255,255,255}}, it looks like a =
black blob with a gray side, which would not work, which is why I use =
the bitmap files.  If this confuses you, I'm sorry, let me know and I'll =
try to make it easier to understand.  If you would, please try to fix =
it, or let me know if I just have a bad copy or whatever could be wrong.

Thanks all,
Mike Hurley


------=_NextPart_000_0022_01BED15D.C9FE4300
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 face=3D"Courier New" size=3D2>David, or =
others who know=20
what I'm talking about,</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"Courier New" =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>I have had problems with the =
createDIB=20
function.&nbsp; To test it, I messed around by making a box that was the =
upper=20
1/2 red and the lower 1/2 blue.&nbsp; What I got was a mostly red box =
with 2=20
little blue lines going from the bottom and only 3-4 pixels tall from =
the=20
right.&nbsp; Also, if you take the bitmap I use in my toolbar for the =
button=20
being in the &quot;Raised&quot; position, and put it in the=20
{{1,1,1,1},{1,1,1,1}} format, with gray being color 1, black being color =
2, and=20
white being color 3...and the palette being=20
{{208,208,208},{0,0,0},{255,255,255}}, it looks like a black blob with a =
gray=20
side, which would not work, which is why I use the bitmap files.&nbsp; =
If this=20
confuses you, I'm sorry, let me know and I'll try to make it easier to=20
understand.&nbsp; If you would, please try to fix it, or let me know if =
I just=20
have a bad copy or whatever could be wrong.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Thanks all,</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Mike Hurley</FONT>&nbsp;</DIV>

------=_NextPart_000_0022_01BED15D.C9FE4300--

________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu