PRB: Cannot Shift Focus from an ATL Composite Control on a Web Page (274203)
The information in this article applies to:
- The Microsoft Active Template Library (ATL) 3.0
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q274203 SYMPTOMS
When you use an ATL composite control on a Web page, the user may not be able to shift focus from the control to other elements on the page.
CAUSE
When you create the control, this problem occurs if you add support for the VALID stock property (DISPID_VALID) and fail to initialize it.
RESOLUTION
To resolve this problem, in the control class constructor, initialize the m_bValid variable of DISPID_VALID to 1.
REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kusuma Vellanki, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbCtrl kbprb kbSBNWorkshop KB274203 |
---|
|