space-invader
3-14-02, 08:58 AM
in windows explorer, if you hit backspace, it sometimes behaves like the "back" button, taking you back to the previous page you were on
does anyone know how to STOP it from doing this? i find it EXTREMELY IRRITATING:mad:
Not sure if this is exactly the cause of what you are seeing Space-Invader but I have this issue with some web and intranet pages. Here's the Microsoft Knowledge Base explanation. And in typical style the resolution is "tough, get used to it". lol Seems the behaviour is by design. Bottom line is it only happens on pages with certain ActiveX controls.
PRB: Backspace in ATL Subclassed CTL Causes Internet Explorer to Navigate Back (Q190044)
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Internet Explorer (Programming) versions 3.02 , 4.0 , 4.01 , 4.01 SP1 , 5 , 5.01 , 5.01 SP1 , 5.5 , 5.5 Service Pack 1
--------------------------------------------------------------------------------
SYMPTOMS
When 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.
CAUSE
When 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).
Here is sample code for a WM_MOUSEACTIVATE handler that calls InPlaceActivate to manually UI Activate itself:
LRESULT OnMouseActivate(UINT, WPARAM, LPARAM, BOOL&)
{
// Manually activate the control
InPlaceActivate(OLEIVERB_UIACTIVATE);
return 0;
}
STATUS
This behavior is by design.
I have had internet exploder do that quite a few times. Just click in the active window and it stops.
Exploder has plenty of bugs in it... and that seems like one.
space-invader
3-16-02, 02:20 AM
Originally posted by aaronw
I have had internet exploder do that quite a few times. Just click in the active window and it stops.
Exploder has plenty of bugs in it... and that seems like one.
hmm...it sometimes happens when i'd be happily typing away, like this post for example, make a typo, hit backspace....:mad:
maybe i should put on netscape on instead and let microsoft rot in hell:devil:
hey bogie, it sorta sounds like my problem, but the resolution didn't make too much sense to me:goofy: