Solved

Win2k GUI?

Posted on 2000-04-02
8
174 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
  • 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 15 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

832 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