Results 1 to 7 of 7

Thread: Custom Pallete for program forms

  1. #1

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562
    If you are talking about defining your own colors for your Form's Back or ForeColor in design mode...
    1. Click on the required Color property.
    2. 'Right Click' on a blank square.
    You should now get a Define Color Dialog Box.
    3. Choose your Color and click on Add Color
    You can also replace an existing Color by 'Right Click' over it.
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  2. #2
    New Member
    Join Date
    Aug 2001
    Location
    Southern Oregon
    Posts
    6

    I got that down but,,,,

    I was trying to give the forms for my program a seperate color scheme from that the user has on their computer. In other words, "I WANT TO THEIR CONTROL THE WORLD!", just joking. I would like to be able to do this. I belonged to a message board that is now extinct. Someone their had sent me a mini project in which they acomplished this. It was about a year ago and I looked at it and said, "neat".(It was before I realy started on my project full on. It was already complied as an exe so I couldn't see the actual code.

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Location
    Eldwick, UK
    Posts
    17

    You CAN do it...

    Or at least I think you can. It's somewhere in this site I think. You use an API call to modify the titlebar colour. I'm pretty sure it can be adapted to control the button colours and stuff. Not quite sure. I'll go have a look for it and stick up a link if I find it...

  4. #4
    Junior Member
    Join Date
    Aug 2001
    Location
    Eldwick, UK
    Posts
    17
    This link isn't what I thought it was. The tutorial says it's for Windows 95. Haven't had chance to try it with anything else, but you might as well have a go. Not quite the solution I thought it was. Sorry for gettin your hopes up!

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You can specify a 256-colour bitmap as a palette in any form.... It's up to you after that, I'm afraid.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562

    Save as 256 Color Bitmap

    What I need for my project is to save as 256color Bitmap
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    MSPaint can do this for you. Also use "imaging", I believe it does a better job. Even better still, you can use the trial version of PSP from Jasc to do this, and you will get little to no immediate visual loss.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width