Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Win2k GUI?

Posted on 2000-04-02
8
Medium Priority
?
178 Views
Last Modified: 2010-05-02
Is it just my eye sight or something. Somebody tell me that Windows 2000 has a different default grey tone that Win98. All of my forms seem to be a different slightly lighter tone of grey than Win98. I have noticed this on my undoubtedly Theme Compliant buttons which have the old Win98 grey, and so all my buttons look ***king crud.

HELP!!!??

thanks
0
Comment
Question by:LeXien
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 4

Expert Comment

by:Nazdor
ID: 2677730
The colour of the 'default grey tone' can be defined by each user by setting the '3D Objects' colour in Display Properties / Appearance.

What you need to do is make sure your buttons use colour = "Button Face" (VB6)(colour = H8000000F&)

Then they will change colour depending on the user's preferences (eg, if they choose 'rose' scheme then the buttons will automatically be pink instead of dark gray)

0
 

Author Comment

by:LeXien
ID: 2690953
i tried that, but its my icons in the buttons which are the old colour grey. Can't i make them transparent some how?
0
 
LVL 4

Accepted Solution

by:
Nazdor earned 60 total points
ID: 2692457
Using a bitmap for the image, it's not very easy to set the background as transparant (but I think it's supposed to be possible, something to do with the Mask colour and the first pixel in the picture).

However, if you use a Gif or Icon (.ico) for the image, then they can be designed with transparant backgrounds.

Have a look at Microangelo (www.impactsoft.com) which is a very good icon editor and is easy to set the background as transparent (though there are lots of icon editors about of course).


Otherwise, change your theme colours so they match your buttons! :-)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:LeXien
ID: 2696116
mmm,
actually it is quite important for me to use BMP files or the latter - GIF. Because i found that if i use ICO files which contain both a 32x32 and 16x16 pixel image, then on systems which have Large Icons enabled - all of my 16x16 icons are enlarged to 32x32 and so my program looks crud. Thats what made me change to BMP. Looks like im gunna have to change all my images to GIF or PNG.

I'll have ago in the week, ill get back to u soon.

thanks
0
 
LVL 4

Expert Comment

by:Nazdor
ID: 2697337
I had the same problem with ICO files - but if you use an icon editor, you can remove the 32x32 icon and it will always use the 16x16 one.

Have a look at the "Mask" property - I'm sure it must be possible for bitmaps.
0
 

Author Comment

by:LeXien
ID: 2697485
yeah, i can Mask the color of Command Buttons, but i also have Picture Boxes and Image Boxes - they don't support Mask colors. But not to worry, i spent about an hour of boredom yesterday converting all of my BMPs to Transparent GIFs. So now all my icons are in GIF format, with transparencies. This worked great and reduced the size of my application by 250k! Seems to make the forms load faster too.

Thanks for your help Nazdor, ill give you the points for the help. 15 POINTS
0
 

Author Comment

by:LeXien
ID: 2697487
Thanks Nazdor.

For all other people having the same problem, i reckon you should get a decent graphics package such as Adobe Photoshop and use its functionality to convert all of your Grey BMP backgrounds to transparent using the 'Magic Wand' tool and Cut and Paste.

Thanks,
0
 
LVL 4

Expert Comment

by:Nazdor
ID: 2699432
Thanks for the update - glad you've got it working.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question