TextBox KeyPress event

I am using .net right now, I have a textbox with a keypress event that tests for the enter key and performs the appropriate action:
private: System::Void inbox_KeyPress(System::Object^ sender,
1
2
3
4
5
6
7
System::Windows::Forms::KeyPressEventArgs^  e) {
			
			 char q=e->KeyChar;
			// 
			 if(q.ToString()=="13")
				 button1_Click(sender,e);
		 }


Now, how would I test for something like ctrl+enter? Do the different button combinations have their own ASCII codes?
Topic archived. No new replies allowed.