Internet Explorer Band Objects

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

Has anyone done any development with Internet Explorer band objects in
VB.NET?

If so, how did you resolve the issue surrounding IEs failure to process the
backspace keydown event for edit controls hosted within band objects?

I've found several C++ examples addressing this problem, and they do so by
implementing the TranslateAcceleratorIO method. However, even though I have
this method implemented in my bandobject class, IE never calls it.

I found online a C# project that implements this routine, but IE functions
the same with this version as well - it never calls the routine.

How do I get my bandobject library to raise the keydown event for the
backspace key if IE won't call the routine required to raise the event?

I would appreciate any direction anyone could offer.

Craig
 
In case anyone has an interest, after some digging, googling, trial, and
much error, I've learned that in order for TranslateAcceleratorIO to fire,
IE must know that the control for which it should fire has focus. So, to
solve the problem, just use the OnFocusChangeIS method within the control's
GotFocus method, et voila ... TranslateAcceleratorIO fires.

Cheers,
Craig
 
Back
Top