Microsoft KB Archive/131283

{|
 * width="100%"|

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

 * }

Q131283

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

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 or later, 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 kbOSWinNT400 kbOSWin2000 kbSDKWin32 kbGrpDSUser kbOSWin95 kbOSWin98

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch