TextBox Backspace problem in a IE Toolbar using Band Objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all,

I'm trying to program a IE Toolbar similar to the Google Bar in C# using
Band Objects. Everything works fine but my TextBox (which I use to search the
Internet) is not responding the accelerated keys like "backspace".

I do not even get the KeyDown/KeyPress event for this keys for the textbox
:-( (I assume my IE (parent window?) catches these events before).

How can I solve this?

Thanks!

Tom
 
Tom,

I believe your object has to implement the IInputObject interface in
order to get accelerator keys. This is an unmanaged interface, so you will
have to define it in managed code, and then implement it. There is an
article on codeproject.com titled "Extending Explorer with Band Objects
using .NET and Windows Forms" which you might find of use. You can find it
at (watch for line wrap):

http://www.codeproject.com/csharp/dotnetbandobjects.asp

Hope this helps.
 
Hey there,

found a solution that worked perfectly for me and thanks for your help!

Here we go:

http://weblogs.com.pk/kadnan/articles/1500.aspx

Is really good, solves the "Backspace" problem in the IE BandObject example.

The link you provided helps a lot, too;

http://www.codeproject.com/csharp/dotnetbandobjects.asp

Again, thanks for your time and help!

Regards,

Tom
Nicholas Paldino said:
Tom,

I believe your object has to implement the IInputObject interface in
order to get accelerator keys. This is an unmanaged interface, so you will
have to define it in managed code, and then implement it. There is an
article on codeproject.com titled "Extending Explorer with Band Objects
using .NET and Windows Forms" which you might find of use. You can find it
at (watch for line wrap):

http://www.codeproject.com/csharp/dotnetbandobjects.asp

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tom Gerstner said:
Dear all,

I'm trying to program a IE Toolbar similar to the Google Bar in C# using
Band Objects. Everything works fine but my TextBox (which I use to search
the
Internet) is not responding the accelerated keys like "backspace".

I do not even get the KeyDown/KeyPress event for this keys for the textbox
:-( (I assume my IE (parent window?) catches these events before).

How can I solve this?

Thanks!

Tom
 
Back
Top