BUG: VBCE: Some MessageBox Options Not Implemented (215411)



The information in this article applies to:

  • Microsoft Windows CE Toolkit for Visual Basic 6.0

This article was previously published under Q215411

SYMPTOMS

The MessageBox options vbOK and vbOKCancel are not implemented in the Microsoft Windows CE Toolkit for Visual Basic 6.0 (VBCE6).

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. Start a new Windows CE H/PC Pro Project in Visual Basic. Form1 is created by default.
  2. Paste the following code in the form's code window:
    Option Explicit
    
    Private Sub Form_Click()
       MsgBox "test", vbYesNoCancel
    End Sub
    					
  3. Run the project and click on the form. Notice that "Yes," "No," and "Cancel" appear in the MessageBox's client area (not in the titlebar).
  4. Stop the application and change the code in the Form_Click event to:
    MsgBox "Test", vbOKCancel
    					
  5. Run the project and click on the form. This time, only the "OK" button appears in the titlebar.

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