BUG: Application May Not Close When a Frame Contains a CommandBar (215389)



The information in this article applies to:

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft eMbedded Visual C++, Version:4.0, when used with:
    • Microsoft Windows CE 2.11 for the Handheld PC
    • Microsoft Windows CE 3.0 for the Handheld PC
    • Microsoft Windows CE for the Palm-size PC, Versions 2.11

This article was previously published under Q215389

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 that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior
  1. Create a new Windows CE project in either Visual Basic or eMbedded Visual Basic. Form1 is created by default.
  2. Select Components from the Project menu and select the Microsoft CE CommandBar Control.
  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 remote 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.

Modification Type:MinorLast Reviewed:8/19/2005
Keywords:kbBug kbpending kbToolkit KB215389