| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Feb 25, 2004 6:28 pm Post subject: Button color lighter in Win98se and look ugly |
|
|
The silver main part of my homemade buttons look beautiful in Windows XP Pro(where I made them) but when I checked my program to make sure it worked good in Windows 98se, they looked much brighter in color, which did'nt match the silver in the other parts of my program.
I thought about making a folder with the program for win98se graphics and have it auto detect Win versions and load the correct graphics, but that seems overkill.
Any ideas is welcome... |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Wed Feb 25, 2004 6:40 pm Post subject: |
|
|
You may want to take a look at methods to draw images in realtime thus not needing to distribute images but rather routines to draw the images, save them to disk and then load the image.
I have to do a similar method in my applications for taskicons which draw in real time according to resources available on the computer.
I think Mac has a draw dll available which can do realtime image drawing? |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Wed Feb 25, 2004 6:53 pm Post subject: |
|
|
hmm, you lost me kinda, I drew the button pics in Corel Paint 11, I'm not sure a 3'd party could do as well(guess I'm totally lost here).
Unless you mean some kind of color checker that could adjust the color tones from a palet of the desktop being used or something. But I would still have to have the pics distributed with the program in a folder, which I wouldnt mind doing.
But are you saying if I do it the way I mentioned in the precvious post, that the colors still may not match? hmm (guess that s posible) |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Feb 25, 2004 8:04 pm Post subject: |
|
|
I think PGWARE is trying to say you can write code to tell the computer
how to make the bitmaps based on the operating system, write the bitmap
to the hard drive, then read the written image and place it on your dialog.
Personally I think that this method would take a lot of time to complete,
especially since it would take advanced VDS programming techniques.
Mac has a DLL to draw on the dialog in realtime, but I don't think this
would be a good choice for creating XP-style buttons (gradients, shading, etc.) _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Thu Feb 26, 2004 12:07 am Post subject: |
|
|
Got got it done now, I just made variables in the Dialogs and made it auto detect win version and load the buttons from folders in the programs installation folder. I found if you use Gamma you can make it where you dont have top worry about the 16bit or 32bit problem of color matching, so you dont have to auto detect 16bit or 32bit.
Thanks for the concern.. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Feb 26, 2004 12:41 am Post subject: |
|
|
BTW...
VDSug.dll also contains all the draw features of the
draw dlls, and is much smaller (approx 30k).
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Thu Feb 26, 2004 1:04 am Post subject: |
|
|
| Thanks Mac, I'll need that one day soon I'm sure. |
|
| Back to top |
|
 |
|