|
-
Sep 3rd, 2002, 05:33 AM
#1
Thread Starter
New Member
Changing individual colours on a palette
Hi
Can someone explain this whole confusing subject.
What I'm TRYING to do (and I thought it was going to be simple!)
is this:
I have a bitmap. On this picture (amongst other things) is a box filled with 3 colours.
I want to specifiy these three colours by their PALETTE INDEX (is there such a thing) and then change those 3 colours at runtime.
I want all the system colours and all the other colours to remain the same. Which is why I figured I had to use a 256 colour bitmap and leave the first 20 as is, and colour my 'box' with 3 colours from the palette after 20.
How do I know what the index is of the palette and make sure I color the bitmap in with the correct palette index? I'm using Photoshop 6 or Windows Paint.
I'm using VB 6 SP5 and it's now 1130am, I've been at this since 0740 and I STILL can't find anything that would help unless I knew how to program C++!!! Grrrrrr
Thanks
X
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
|