Internet Explorer Band Objects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Craig

    #1

    Internet Explorer Band Objects

    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 TranslateAccele ratorIO 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


  • Craig

    #2
    Re: Internet Explorer Band Objects

    In case anyone has an interest, after some digging, googling, trial, and
    much error, I've learned that in order for TranslateAccele ratorIO 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 ... TranslateAccele ratorIO fires.

    Cheers,
    Craig

    "Craig" <user@domain.co m> wrote in message
    news:k1Okd.2687 7$As5.21826@tor nado.tampabay.r r.com...[color=blue]
    > 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[/color]
    the[color=blue]
    > 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 TranslateAccele ratorIO method. However, even though I[/color]
    have[color=blue]
    > 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
    >
    >[/color]


    Comment

    Working...