BUG: Application May Close When CommandBar Is Contained in Frame

ID: Q215389


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0


SYMPTOMS

Clicking the Close button of a Commandbar when the Commandbar is inside a frame does not close the application. Instead, the frame (and its contents) is no longer visible on the form.


RESOLUTION

Avoid putting the Commandbar control in the Frame control.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new VBCE project in Visual Basic. Form1 is created by default.


  2. Select Components from the Project menu and select the Microsoft CE CommandBar Control 6.0.


  3. Add a Frame control to Form1 and place it in the middle of the form.


  4. Add a CommandBar control to Frame1.


  5. Run the project in either emulation or on the H/PC device.


  6. Click the Close button on the CommandBar control, and note that the frame is no longer visible, but the application is still open. The expected behavior is that clicking the Close button would close the application.


Additional query words: vbce wince vbce6 wce

Keywords : kbToolkit kbVBp600bug kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: March 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.