Article ID: 254792
Article Last Modified on 8/19/2005
APPLIES TO
- Microsoft Windows CE Toolkit for Visual Basic 6.0
This article was previously published under Q254792
SYMPTOMS
If the Close button on a CommandBar control is clicked, the CommandBar disappears even if the QueryUnload event is canceled.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Start a new Windows CE Project in Visual Basic. Form1 is created by default.
- From the Project menu, select Components, and then select the Microsoft CE CommandBar Control 6.0.
- Add a CommandBar Control to Form1.
Paste the following code into Form1:
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Cancel = True End Sub
- Run the project. Click the Close box on the CommandBar, and note that the CommandBar immediately disappears after the Close box is clicked.
Additional query words: wce vbce vbce6
Keywords: kbbug kbtoolkit kbpending KB254792