Click here to Skip to main content
16,006,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: c#-PHP integration Pin
Tom Larsen1-Aug-05 11:53
Tom Larsen1-Aug-05 11:53 
Generalobject{float[]} Pin
Member 20210221-Aug-05 11:30
Member 20210221-Aug-05 11:30 
GeneralRe: object{float[]} Pin
Guffa1-Aug-05 11:55
Guffa1-Aug-05 11:55 
GeneralWrite to Notepad without creating a file Pin
Alomgir Miah1-Aug-05 11:25
Alomgir Miah1-Aug-05 11:25 
GeneralRe: Write to Notepad without creating a file Pin
eggie51-Aug-05 11:30
eggie51-Aug-05 11:30 
GeneralRe: Write to Notepad without creating a file Pin
Alomgir Miah1-Aug-05 11:51
Alomgir Miah1-Aug-05 11:51 
GeneralRe: Write to Notepad without creating a file Pin
eggie51-Aug-05 12:43
eggie51-Aug-05 12:43 
GeneralControl Key Capture in Win Forms Pin
malharone1-Aug-05 10:41
malharone1-Aug-05 10:41 
I have a .Net Win form which has a) main menu, b) tree control, c) a custom control to display details of the selected TreeNode
-----------------------------
MainMenu:
mnuDelete -> [del]
mnuCopy -> [ctrl+c]
mnuCut -> [ctrl+x]
mnuPaste -> [ctrl+v]

Tree Control: is the standard .Net treeview with HideSelection = false. (So the selected node is always highlighted even if the input focus is moved to another control)

Detail view Custom Control: Contains few textboxes

The problem I'm having is that when I'm on detail view, and making changes in the textbox, I press CTRL + [C, X, V] or Delete keys on the keyboard, but the key is captured by the main menu, and which trigger an event for {menu_name}_click(...). I do not want this event to be fired but want it to be handled by the textbox control.

Any suggestions would be greatly appreciated.

Thanks.

- Malhar
GeneralRe: Control Key Capture in Win Forms Pin
Christian Graus1-Aug-05 11:57
protectorChristian Graus1-Aug-05 11:57 
GeneralRe: Control Key Capture in Win Forms Pin
mrsnipey1-Aug-05 12:06
mrsnipey1-Aug-05 12:06 
GeneralCan't install C# Windows Service Pin
Darryl Borden1-Aug-05 10:10
Darryl Borden1-Aug-05 10:10 
GeneralRe: Can't install C# Windows Service Pin
Christian Graus1-Aug-05 11:58
protectorChristian Graus1-Aug-05 11:58 
Generalparallel port in c# Pin
iramg1-Aug-05 8:26
iramg1-Aug-05 8:26 
GeneralRe: parallel port in c# Pin
Mohamad Al Husseiny1-Aug-05 8:31
Mohamad Al Husseiny1-Aug-05 8:31 
GeneralXML reader/writer Pin
felopater1-Aug-05 7:46
felopater1-Aug-05 7:46 
GeneralRe: XML reader/writer Pin
Mohamad Al Husseiny1-Aug-05 9:33
Mohamad Al Husseiny1-Aug-05 9:33 
GeneralRe: XML reader/writer Pin
DavidNohejl1-Aug-05 10:42
DavidNohejl1-Aug-05 10:42 
GeneralRe: XML reader/writer Pin
Mohamad Al Husseiny1-Aug-05 20:06
Mohamad Al Husseiny1-Aug-05 20:06 
QuestionAnyone have a clue? Pin
Renjith Ramachandran1-Aug-05 7:34
Renjith Ramachandran1-Aug-05 7:34 
AnswerRe: Anyone have a clue? Pin
Mohamad Al Husseiny1-Aug-05 8:28
Mohamad Al Husseiny1-Aug-05 8:28 
AnswerRe: Anyone have a clue? Pin
Guffa1-Aug-05 9:07
Guffa1-Aug-05 9:07 
GeneralHash Table -Issue Pin
Sevugan1-Aug-05 7:32
Sevugan1-Aug-05 7:32 
GeneralHash Table - Issue Pin
Anonymous1-Aug-05 7:18
Anonymous1-Aug-05 7:18 
GeneralRe: Hash Table - Issue Pin
Alomgir Miah1-Aug-05 7:36
Alomgir Miah1-Aug-05 7:36 
GeneralRe: Hash Table - Issue Pin
S. Senthil Kumar1-Aug-05 7:40
S. Senthil Kumar1-Aug-05 7:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.