Microsoft KB Archive/830647

= FIX: The UP ARROW key does not work correctly when you use an ActiveX control together with grouped radio buttons in an MFC form view =

Article ID: 830647

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft Visual C++ .NET 2002 Standard Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





SYMPTOMS
The UP ARROW key may set the focus incorrectly on a Microsoft Foundation Classes (MFC) form view if you use an ActiveX control together with grouped controls such as radio buttons.

This problem does not occur in Microsoft Visual C++ 6.0.



Service pack information
To resolve this problem, obtain the latest service pack for Micorsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix 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 --  12-Sep-2002  16:50                  39,733  Afxdao.h   14-Oct-2003  20:03                  14,546  Atl.lib 14-Oct-2003 20:03  7.0.9741.0      84,992  Atl70.dll 23-Jul-2002 20:08                   3,443  Atlbase.cpp 23-Jul-2002 20:08                 163,480  Atlbase.h   20-Jan-2003  20:07                  16,396  Atlcomtime.inl 23-Jul-2002 20:08                  15,521  Atlcore.h   23-Jul-2002  20:08                  43,105  Atlimage.h   14-Oct-2003  20:02                  48,090  Atlmincrt.lib 14-Oct-2003 20:02                 934,264  Atls.lib 14-Oct-2003 20:02               1,003,890  Atlsd.lib 11-Nov-2002 22:45                  63,284  Cstringt.h   05-Dec-2002  20:21                 116,779  Dbcore.cpp 14-Oct-2003 21:22                 282,816  Eafxis.lib 14-Oct-2003 21:22                 273,800  Eafxisd.lib 12-Sep-2002 16:50                  19,956  Makefile 14-Oct-2003 21:39              10,513,408  Mfc.bsc 14-Oct-2003 21:45                 392,265  Mfc70.def 14-Oct-2003 22:09  7.0.9741.0   1,028,096  Mfc70.dll 14-Oct-2003 21:27               2,287,020  Mfc70.lib 14-Oct-2003 22:09               1,149,706  Mfc70.map 14-Oct-2003 21:39  7.0.9741.0      40,960  Mfc70chs.dll 14-Oct-2003 21:39  7.0.9741.0      45,056  Mfc70cht.dll 14-Oct-2003 21:25                 527,756  Mfc70d.def 14-Oct-2003 21:25  7.0.9741.0   2,072,576  Mfc70d.dll 14-Oct-2003 21:26               3,066,694  Mfc70d.lib 14-Oct-2003 21:25               1,791,935  Mfc70d.map 14-Oct-2003 21:39  7.0.9741.0      61,440  Mfc70deu.dll 14-Oct-2003 21:39  7.0.9741.0      57,344  Mfc70enu.dll 14-Oct-2003 21:39  7.0.9741.0      61,440  Mfc70esp.dll 14-Oct-2003 21:39  7.0.9741.0      61,440  Mfc70fra.dll 14-Oct-2003 21:39  7.0.9741.0      61,440  Mfc70ita.dll 14-Oct-2003 21:39  7.0.9741.0      49,152  Mfc70jpn.dll 14-Oct-2003 21:39  7.0.9741.0      49,152  Mfc70kor.dll 14-Oct-2003 21:46                 393,034  Mfc70u.def 14-Oct-2003 21:59  7.0.9741.0   1,017,344  Mfc70u.dll 14-Oct-2003 21:32               3,042,324  Mfc70u.lib 14-Oct-2003 21:27                 528,736  Mfc70ud.def 14-Oct-2003 21:28  7.0.9741.0   2,066,944  Mfc70ud.dll 14-Oct-2003 21:30               3,978,842  Mfc70ud.lib 14-Oct-2003 21:28               1,842,071  Mfc70ud.map 12-Sep-2002 16:50                   7,662  Mfcdll.mak 14-Oct-2003 21:46                 505,780  Mfcs70.lib 14-Oct-2003 21:25                 526,960  Mfcs70d.lib 14-Oct-2003 21:47                 452,554  Mfcs70u.lib 14-Oct-2003 21:28                 468,956  Mfcs70ud.lib 14-Oct-2003 21:21              16,468,274  Nafxcw.lib 14-Oct-2003 21:21              16,598,950  Nafxcwd.lib 14-Oct-2003 21:22                 122,026  Nafxis.lib 14-Oct-2003 21:22                 123,608  Nafxisd.lib 20-Sep-2002 00:18                  44,958  Oledisp1.cpp 14-Oct-2003 21:25              16,743,784  Uafxcw.lib 14-Oct-2003 21:24              17,032,364  Uafxcwd.lib 15-Oct-2003 01:49                 887,808  Vc_mfc.msm 05-Nov-2002 18:40                  34,858  Viewprev.cpp 13-Oct-2003 19:42                  19,200  Winocc.cpp



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.



Steps to reproduce the problem

 * 1) Create an MFC application that has a view that is based on the CFormView class.
 * 2) Open the dialog editor, and then add three radio buttons to the form view.
 * 3) Set the Group property of the first radio button to true.
 * 4) Set the Tabstop property of the first radio button to true.
 * 5) Add an Active X control such as the Microsoft Date Time Picker to the form view.
 * 6) Set the Group property of the Active X control to true.
 * 7) Set the Tabstop property of the Active X control to true.
 * 8) Run the application.
 * 9) Click the first radio button.
 * 10) Press the DOWN ARROW key to change focus between the controls.

This action works as expected.
 * 1) Press the UP ARROW key to change focus between the controls.

This action does not work as expected. Also, you can only use the UP ARROW key to set the focus between the second radio button and the third radio button.

For additional information about the terminology that is used to describe Microsoft product updates, 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

Keywords: kbbug kbfix kbqfe kbvs2002sp1sweep kbvs2002sp1fix kbhotfixserver KB830647

-

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

© Microsoft Corporation. All rights reserved.