473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

TextBox Backspace problem in a IE Toolbar using Band Objects

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

Nov 17 '05 #1
2 3457
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]
- mv*@spam.guard.caspershouse.com

"Tom Gerstner" <To*********@discussions.microsoft.com> wrote in message
news:BC**********************************@microsof t.com...
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

Nov 17 '05 #2
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 [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"Tom Gerstner" <To*********@discussions.microsoft.com> wrote in message
news:BC**********************************@microsof t.com...
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


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jason Tabert | last post by:
Is there a way to create a custom IE toolbar with C# (or anything else in ..NET for that matter)? I have been looking all day and have had no luck finding a good place to start. I need to make...
0
by: jm | last post by:
I have no key events ANYWHERE, but for some reason, I cannot use the backspace key in my textbox. Even if I delete the textbox and put a new one. I can use any key but the Backspace. Any ideas? ...
5
by: Adnan Siddiqi | last post by:
Hello All I have just joined this group,i found many example of development of IE toolbar or deskband but found noone in C# i am not a core C++ programmer so examples in ATL WTL are difficult...
7
by: Tamir Khason | last post by:
I have textbox. I do something in each Keypress (kindof validation) in order not to rewrite all text inside I'm using AppendText method to write in. BUT I'm unable to add backspace (\b); e.g I have...
1
by: Rena | last post by:
Hi all expert, I would like to know how to create a WindowOS toolbar, just like Quick Launch bar which could be selected on the toolbar list (just like choosing to enable/disable quick launch bar)...
3
by: Tlink | last post by:
I have searched the Internet looking for an example on how to code a IE custom toolbar in VB.net without success, I want to create a custom toolbar for our internal users and external users in...
11
by: EmeraldShield | last post by:
I am developing a toolbar for IE6. I have referenced the sample project provided at http://www.codeproject.com/csharp/dotnetbandobjects.asp and the msdn article "Creating Custom Explorer Bars, Tool...
5
by: Reny | last post by:
can any one tell how can i restrict my user to type just numeric character in the textbox.I am using VS.NET 2003 (VB.NET)
2
by: garyusenet | last post by:
Hi. My app interfaces with IE. I think the best way of accessing the app functions would be a toolbar in Internet Explorer. Any advice on where I should start in terms of making this? I am new to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.