|
-
August 15th, 1999, 06:32 AM
#1
dib
I am creating a DIB using CreateDIBSection
When my desktop is in 256colors, if I BitBlt from
MyDIB to my main form it seems to use the Windows palette rather than the application palette.
Can anyone offer any suggestions as to what to do
about this ?
-
August 15th, 1999, 10:17 AM
#2
Re: dib
www.vbaccelerator.com has some good source code and articles concerning DIBs...
I don't understand them very well, especially palletes, but I know I had some trouble using the BITMAPINFO structure with the RGBquad array. That could be your problem, or it could be the DC youre blitting to...Anyway check out the site above for some pointers.
-
August 15th, 1999, 10:33 AM
#3
Re: dib
Actually I just looked and he has code on there for working with 256 color dibs. Just search the site for dib, you'll see it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|