FIX: A Picture Box Containing Labels May Not Repaint Correctly
Article ID: 150182
Article Last Modified on 6/28/2004
APPLIES TO
- Microsoft Visual Basic 4.0 Standard Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 Enterprise Edition
This article was previously published under Q150182
SYMPTOMS
A picture box that contains labels and is larger than the screen size does
not repaint correctly.
RESOLUTION
Use text boxes without borders - BorderStyle set to None - and a BackColor
set to the same color as the label to substitute for the labels. The text
boxes should be made read-only.
For additional information, please see the following article in the
Microsoft Knowledge Base:
110403 How to Create a Read-Only Text Box Using SendMessage API
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Basic
5.0.
Additional query words: kbVBp400bug kbVBp500fix kbVBp kbdsd kbDSupport kbControl
Keywords: kbbug kbfix KB150182