VB Painting Problems with 3-D Check Box and 3-D Option Button

ID Number: Q84157

1.00

WINDOWS

Summary:

Under certain circumstances, the 3-D Check Box and 3-D Option Buttons

(contained in THREED.VBX) can have painting problems. These problems

include:

- An "X" not appearing in the 3-D Check Box when the box is clicked.

- A dot not appearing in the 3-D Option Button when the button is

clicked.

- A dot appearing white on a dark gray background, instead of a black

dot on a white background.

- An "X" appearing white on a dark gray background, instead of a

black "X" on a white background when the button is clicked.

These problems generally occur when several of the controls are

clicked in rapid succession. This does not affect the Value property

of the control; the value is correct even if the control paints

incorrectly. This problem only occurs when controls are rapidly

toggled off and on, and should not be a problem for most normal

application program situations.

Microsoft has confirmed this to be a problem with the THREED.VBX

custom control supplied with Microsoft Professional Toolkit for

Microsoft Visual Basic programming system version 1.0 for Windows. We

are researching this problem and will post new information here as it

becomes available.

More Information:

Refresh methods applied to the controls will not fix the painting

problem. Neither will toggling the value, because the value is correct

to begin with, and is separate from the painting of the control.

Steps to Reproduce Problem

--------------------------

1. Run Visual Basic, or from the File menu, choose New Project (ALT,

F, N) if Visual Basic is already running. Form1 is created by

default.

2. From the File menu, choose Add File. In the Files box, select the

THREED.VBX custom control file. The 3-D tools appear in the

Toolbox.

3. Place three 3-D Check Box controls and three 3-D Option Button

controls on Form1.

4. Press F5 to run the program.

5. Rapidly click on the various controls while moving the mouse from

control to control. After some time, one of the above problems will

occur.

Additional reference words: 1.00