BUG: Lines Drawn on Form Disappear After Menu Covers ThemLast reviewed: February 5, 1998Article ID: Q180496 |
The information in this article applies to:
SYMPTOMSWhen a menu drops down and covers lines drawn directly on a form, the line that is covered will not be repainted correctly.
RESOLUTIONTo avoid this problem, redraw the line in the Click event of the submenu. For example, if you have a File menu with a "New" submenu, add the following code for the "New" submenu Click event:
Private Sub mnuNew_Click() 'Normal New menu code here Drawline 0,0,1000,1000 'Redraw line. End Sub STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONSteps to Reproduce Behavior
Keywords : vb5all vbce Version : WINDOWS:1.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |