PRB: Can't Use TAB to Move from Standard Controls to Custom

Last reviewed: September 29, 1995
Article ID: Q131283
The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API) included with:

        - Microsoft Windows 95 version 4.0
    

SYMPTOMS

As you attempt to customize the new Explorer-style File Open or Save As common dialog, pressing the TAB key fails to move the focus from the standard dialog's controls to the new controls specified in the custom template.

CAUSE

The custom dialog box template failed to specify the DS_CONTROL style.

RESOLUTION

When creating a custom dialog box template to be used with the new FileOpen or Save As common dialog, you must specify the DS_CONTROL style.

STATUS

This behavior is by design.

MORE INFORMATION

With the new way of customizing the File Open or Save As common dialog in Windows 95, you can customize applications to provide a custom dialog box template that adds controls to the default Open or Save As dialog box. This custom dialog box is created as a child of the default dialog box and thus requires a WS_CHILD style.

DS_CONTROL is a new style provided in Windows 95. It makes a modal dialog created as a child of another dialog interact well with its parent dialog. This style ensures that the user can move between the controls of the parent dialog and the child dialog - or in this case between the standard Open or Save As common dialog and the custom dialog provided by the application.

NOTE: This article does not apply to Windows NT. This information applies only to the new way of customizing the Explorer-style File Open or Save As common dialog in Windows 95.


Additional reference words: 4.00
KBCategory: kbui kbprb
KBSubcategory: UsrCmnDlg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 29, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.