Solved

Win2k GUI?

Posted on 2000-04-02
8
176 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 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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