forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Button color lighter in Win98se and look ugly

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Feb 25, 2004 6:28 pm    Post subject: Button color lighter in Win98se and look ugly Reply with quote

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
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Wed Feb 25, 2004 6:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Wed Feb 25, 2004 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Feb 25, 2004 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Thu Feb 26, 2004 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Feb 26, 2004 12:41 am    Post subject: Reply with quote

BTW...

VDSug.dll also contains all the draw features of the
draw dlls, and is much smaller (approx 30k). Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Thu Feb 26, 2004 1:04 am    Post subject: Reply with quote

Thanks Mac, I'll need that one day soon I'm sure.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group