473,769 Members | 5,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RichTextBox Control Captures Shortcut Keys in Regular Windows App but Fails to Capture in an MDI App?

Hello All,

First, I apologize for posting this to so many newsgroups but I wasn't sure
which newsgroup was most appropriate nor which newsgroup would most likely
have subscribers that have done this or would have the answer. That said,
below is a description of my problem:

If I create a standard Windows executable in C# or VB.Net and place a
RichTextBox control on the main form, the control captures standard shortcut
keys as expected (i.e. Ctrl-V, Ctrl-X, etc.). However, if I add an MDI
parent form to the project, make the original form a child form to this
parent MDI form and display the original form, the RichTextBox control no
longer captures these shortcut keys.

Can someone please tell me what is necessary to correct this behavior?

Thanks & Regards,

TC
May 11 '06 #1
0 866

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

Similar topics

4
27717
by: The Flyer | last post by:
Hi Sorry for posting this message to so many groups, but I was not sure which group the windows keyboard experts would be reading, so I ventured to post it to all of them. I want to map or create shortcut on the keyboard for Cut/Copy/Paste functions. I can use the regular Control_X, C or V to do the same in Windows XP, but I would rather press a single key just like in Sun Solaris keyboards which have specific keys for these functions.
11
15185
by: Mad Joe | last post by:
I'm using a richTextBox for editing a source code (with Syntax Highlighting) of my own programming language... How come that myRichTextBox doesn't respond to Undo/Redo functions by using default shortcut keys, or even programaticaly (by using Button_onClick event)? if(myRichTextBox.CanUndo == true) { myRichTextBox.Undo(); }
2
4975
by: Leon Friesema | last post by:
Hiyall! I have a RichTextBox inside a UserControl which should be able to indent a block off text (or UnIndent for that matter) like the SourceEditor of VS2003 or WinWord does. All controls on the form (except for the RichTextBox) have TabStop=False and I have a KeyDown event handler which calls the IndentSelection function. No problem with the indenting (I've watched when stepping through the code) except.. The e.Handled does not seem...
6
11089
by: Barguast | last post by:
When a control's 'Click' event is triggered, is there a way I can test whether the CTRL / Alt / Shift keys are pressed as well? I've thought about capturing KeyDown events before the click but this assumes that the control is in focus which won't necessarily be so.
3
6829
by: aledrjones | last post by:
Hi I've got a c# application that will often run in the background as it is used to monitor connections to a host. An activex control displays the communication between the app and the host. When the host disconnects the app, I want to take a screen shot of the active x control. Two methods I've tried have worked, one using key commands to trigger a
11
11187
by: Ron L | last post by:
I have a barcode scanner which uses a "keyboard wedge" program so that the data it scans comes through as if it was typed on a keyboard. I am trying to have the data in the barcode be displayed in a text box. I know that there are certain control characters embedded in the data that I want to display substitutions for in the text box, for instance I want to replace ASCII character 04 with the string "<EOT>". I have tried doing a simple...
0
1941
by: TCook | last post by:
Hello All, First, I apologize for posting this to so many newsgroups but I wasn't sure which newsgroup was most appropriate nor which newsgroup would most likely have subscribers that have done this or would have the answer. That said, below is a description of my problem: If I create a standard Windows executable in C# or VB.Net and place a RichTextBox control on the main form, the control captures standard shortcut keys as expected...
0
1400
by: Academia | last post by:
I've spent the last hour searching the internet for a simple list of the shortcut keys recognized by the Windows Forms RichTextBox and came up empty handed. I did see where someone mentioned that he looked at the lists for all the DLL's but he didn't say where he found them. Is there such a list anywhere?
0
1144
by: Academia | last post by:
I've spent the last hour searching the internet for a simple list of the shortcut keys recognized by the Windows Forms RichTextBox and came up empty handed. I did see where someone mentioned that he looked at the lists for all the DLL's but he didn't say where he found them. Is there such a list anywhere?
0
1164
by: Gouri.Mahajan7 | last post by:
Hello, I have hosted the windows user control (which has one richtextbox) on web page. When I type the keys such as Ctrl+O on it the open window pops up and the control (i.e. richtextbox) is not receiving that character. Same with some other shortcut keys such as Ctrl+P, Ctrl+A and so on. Can anybody please give me the solution for it.?? The control should receive such characters when typed on it on web page. Thanks in advance.
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9994
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7409
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.