PRB: Cannot Use TAB to Move from Standard Controls to Custom

ID: Q131283


The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK)
  • Microsoft Windows 2000


SYMPTOMS

If you press the TAB key as you attempt to customize the Windows Explorer- style File Open or Save As common dialog box, 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, Windows 98 or Windows NT 4.0, 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 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.

Additional query words:

Keywords : kbCmnDlg kbCmnDlgFileO kbCmnDlgSave kbNTOS400 kbWinOS2000 kbSDKWin32 kbGrpUser kbWinOS95 kbWinOS98
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: February 2, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.