The information in this article applies to:
SYMPTOMSWhen an ATL ActiveX control that subclasses an edit control is hosted in Internet Explorer, pressing the BACKSPACE key when focus is set to the Edit control causes Internet Explorer to navigate to the previous Web page. If there are no Web pages previous to the one with the control, the backspace key functions as normal. CAUSEWhen the user clicks on the subclassed control, the control is not UI Activated. This means that any accelerator keys are processed by the Internet Explorer frame. The control is never given a change to process the backspace accelerator key. RESOLUTION
When the user clicks in the edit box, a WM_MOUSEACTIVATE message is sent to
the control. When this message is received, manually activate the control
by calling CComControl::InPlaceActivate(OLEIVERB_UIACTIVATE).
STATUSThis behavior is by design. REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q179696 PRB: Focus and Tab Issues with ATL Subclassed Edit Control Additional query words:
Keywords : kbActiveX kbCtrl kbIE400 kbIE401 kbIE401sp1 kbIE500dp1 kbIEFAQ |
Last Reviewed: January 27, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |