Just before performing your final ‘make EXE,’ switch your desktopcolor scheme and see just how many backgrounds you have hard-coded!(Sadly, several excellent shareware controls fail here, VBPJcontributors are guilty of this, and even the VB4 help fileexamples slip up!)
Try the desert desktop scheme in Win95 as a starting point, or,better still, create a new ugly scheme just to test all your controlcolors.
VB4 provides 24 system colors though a set of constants (searchhelp for Color Constants or VBTranslateColor) for use in yourcode, many of which are used as a default for VB controls, butif you’ve changed the property setting with the VB palette, youmust retype (or paste) the hexadecimal number shown next to thecolor into the property text box, substituting the 0x for &H.Alternatively, you could click on another control that alreadyhas the correct color value, copy the property value, and pasteit into your control. Then you won’t be so gray.
Technical Reviewer’s Note: In VB4, there is a new Color PaletteView Window with a DEFAULT button. Select each Form or Controlone at a time, select the DEFAULT button and the control willbe set to the Windows Default. Be aware that the Appearance propertyshould be set to 3-D for best results.