Microsoft KB Archive/215389

= BUG: Application May Not Close When a Frame Contains a CommandBar =

Article ID: 215389

Article Last Modified on 8/19/2005

-

APPLIES TO

 Microsoft Windows CE Toolkit for Visual Basic 6.0 Microsoft Office Keyboard, when used with:  Microsoft Windows CE 2.11 for the Handheld PC

 Microsoft Windows CE 3.0 for the Handheld PC

 Microsoft Windows CE 2.11 for the Handheld PC </li></ul>

-

<div class="notice_section">

This article was previously published under Q215389

<div class="symptoms_section">

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.

<div class="resolution_section">

RESOLUTION
Avoid putting the Commandbar control in the Frame control.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

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.

Additional query words: vbce wince vbce6 wce eVB

Keywords: kbbug kbtoolkit kbpending KB215389

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.