Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Problem - KeyDown even does not occur for UserControl in C#

Unanswered Problem - KeyDown even does not occur for UserControl in C#

  • 2012년 1월 12일 목요일 오전 1:22
     
     

    Hello.

    I am working on KeyDown event control in C#.

    Of course, it works in main.form, but not in Form.SplitterPanel.Panel1.UserControl.

    I think "focus" and "keyPreview setting" is not a problem since KeyUp event method occurs with no problem.

    I tried to solve this problem with many solutions through the Internet, but nothing could help.

    I do not know key event occur for "KeyUp", but not for "KeyDown" and "KeyPress".

    What is the big difference between them.

    Please help me.

모든 응답