Microsoft KB Archive/884879

= FIX: The Tab order does not work as you expect when an MFC dialog box contains an ActiveX control in Visual Studio .NET 2003 =

Article ID: 884879

Article Last Modified on 5/15/2006

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition

-





SYMPTOMS
Assume the following scenario: You use Microsoft Visual Studio .NET 2003 to create an application that displays an Microsoft Foundation Classes (MFC) dialog box that contains an ActiveX control. When the MFC dialog box also contains child windows that contain controls, the tab order may not work as expected. When you try to use the TAB key to move to any one of the child windows, the child windows are skipped over.

For example, this problem occurs when you have an MFC dialog box that contains the following:
 * A Masked Edit ActiveX control
 * A Tab control that contains the following:
 * A Masked Edit ActiveX control
 * A Button control
 * A Button control

When you use the TAB key to move past the first Masked Edit control in this scenario, focus goes to the last Button control. Focus then skips over the child controls that are contained in the Tab control.

Note This problem does not occur in Microsoft Visual Studio 6.0.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio .NET 2003 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  17-Jul-2003  23:22                     56,223  Afx.h   21-Aug-2004  07:21                     14,546  Atl.lib 21-Aug-2004 07:21  7.10.4234.0        89,088  Atl71.dll 18-Nov-2003 05:55                     17,677  Atlcomtime.inl 22-Jan-2004 20:05                     13,014  Atlevent.h   04-May-2004  19:11                     76,374  Atlhost.h   21-Aug-2004  07:20                  1,199,632  Atls.lib 21-Aug-2004 07:20                  1,240,236  Atlsd.lib 29-Aug-2003 23:16                     10,647  Atltime.h   29-Aug-2003  23:18                     14,773  Atltime.inl 03-Aug-2004 20:55                    118,402  Dbcore.cpp 21-Aug-2004 08:26                    319,746  Eafxis.lib 21-Aug-2004 08:26                    310,128  Eafxisd.lib 11-Sep-2003 21:30                      9,121  Filest.cpp 21-Aug-2004 09:29  7.10.4234.0     1,060,864  Mfc71.dll 21-Aug-2004 08:32                  2,580,010  Mfc71.lib 21-Aug-2004 08:43  7.10.4234.0        40,960  Mfc71chs.dll 21-Aug-2004 08:43  7.10.4234.0        45,056  Mfc71cht.dll 21-Aug-2004 08:30  7.10.4234.0     2,183,168  Mfc71d.dll 21-Aug-2004 08:31                  3,361,062  Mfc71d.lib 21-Aug-2004 08:43  7.10.4234.0        65,536  Mfc71deu.dll 21-Aug-2004 08:43  7.10.4234.0        57,344  Mfc71enu.dll 21-Aug-2004 08:43  7.10.4234.0        61,440  Mfc71esp.dll 21-Aug-2004 08:43  7.10.4234.0        61,440  Mfc71fra.dll 21-Aug-2004 08:43  7.10.4234.0        61,440  Mfc71ita.dll 21-Aug-2004 08:43  7.10.4234.0        49,152  Mfc71jpn.dll 21-Aug-2004 08:43  7.10.4234.0        49,152  Mfc71kor.dll 21-Aug-2004 09:20  7.10.4234.0     1,048,576  Mfc71u.dll 21-Aug-2004 08:36                  3,348,140  Mfc71u.lib 21-Aug-2004 08:33  7.10.4234.0     2,178,560  Mfc71ud.dll 21-Aug-2004 08:34                  4,287,960  Mfc71ud.lib 21-Aug-2004 08:54                    555,888  Mfcs71.lib 21-Aug-2004 08:31                    582,136  Mfcs71d.lib 21-Aug-2004 08:55                    490,054  Mfcs71u.lib 21-Aug-2004 08:34                    507,600  Mfcs71ud.lib 21-Aug-2004 08:26                 16,915,100  Nafxcw.lib 21-Aug-2004 08:25                 17,042,070  Nafxcwd.lib 21-Aug-2004 08:26                    129,138  Nafxis.lib 21-Aug-2004 08:26                    132,454  Nafxisd.lib 17-Jul-2003 23:19                      6,073  Objcore.cpp 18-Jul-2003 00:21                     24,323  Occcont.cpp 16-Jul-2004 22:34                     20,901  Occdlg.cpp 05-Aug-2004 23:07                     39,089  Oledlgs1.cpp 20-Jan-2004 21:31                     16,801  Olefact.cpp 25-Mar-2004 07:32                     40,431  Olepset.cpp 05-May-2004 16:48                     14,141  Olestrm.cpp 14-Jul-2004 20:47                     34,214  Statreg.h   21-Aug-2004  08:29                 17,213,692  Uafxcw.lib 21-Aug-2004 08:28                 17,434,084  Uafxcwd.lib 24-Aug-2004 06:42                    101,376  Vc_user_atl71_rtl_x86_---.msm 24-Aug-2004 06:42                    100,864  Vc_user_mfc71_loc_rtl_x86_---.msm 24-Aug-2004 06:42                    921,088  Vc_user_mfc71_rtl_x86_---.msm 17-Aug-2004 21:01                     65,514  Winfrm.cpp 23-Jul-2004 21:37                     19,455  Winocc.cpp 26-Aug-2004 00:11                    106,496  Atl71.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: VS2003 VS6 OCX

Keywords: kbbug kbfix kbqfe kbcontainer kbprb kbdlg kbcontrol kbhotfixserver KB884879

-

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

© Microsoft Corporation. All rights reserved.