dcsimg
December 4, 2020
Hot Topics:

Designing a GUI

  • By John Percival
  • Send Email »
  • More Articles »

One of key enhancements made to the Windows 95 interface was the ability to assign almost any colour to any object.  As a developer, it is important to realize that not everyone uses the same colour scheme you do. For this reason, you should never hard code hexadecimal colour values into your forms. They should change according to the system theme.  Not only does this make your application look more professional, it is one of the requirements of the Windows 95 Logo Program. Since Microsoft did not mention this process in the Visual Basic documentation, it may be difficult to figure out on your own, but it is really quite simple.

In Visual Basic 5 and 6, you have the option to assign one of the system colours to any control.  In this way, your application will automatically have the same colour scheme as the users desktop.





Page 2 of 6



This article was originally published on November 20, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.


Thanks for your registration, follow us on our social networks to keep up-to-date