Article ID: 180496 - Last Review: March 11, 2005 - Revision: 2.2 BUG: Lines Drawn on Form Disappear After Menu Covers ThemThis article was previously published under Q180496 On This PageSYMPTOMS
When a menu drops down and covers lines drawn directly on a form, the line
that is covered will not be repainted correctly. This behavior also occurs with the CommandBar and MenuBar controls.
RESOLUTION
To avoid this problem, redraw the line in the Click event of the submenu.
For example, if you have a File menu with a submenu named "New," add the
following code for the "New" submenu Click event:
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
| Article Translations
|
Back to the top
