Click here to Skip to main content
16,008,075 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionRe: Caps Lock Problem with DDX_ManagedControl Pin
led mike28-Jul-08 11:20
led mike28-Jul-08 11:20 
AnswerRe: Caps Lock Problem with DDX_ManagedControl Pin
fredsparkle28-Jul-08 11:51
fredsparkle28-Jul-08 11:51 
GeneralRe: Caps Lock Problem with DDX_ManagedControl Pin
Luc Pattyn28-Jul-08 11:53
sitebuilderLuc Pattyn28-Jul-08 11:53 
QuestionRe: Caps Lock Problem with DDX_ManagedControl Pin
led mike29-Jul-08 4:39
led mike29-Jul-08 4:39 
AnswerRe: Caps Lock Problem with DDX_ManagedControl Pin
Luc Pattyn28-Jul-08 11:52
sitebuilderLuc Pattyn28-Jul-08 11:52 
GeneralRe: Caps Lock Problem with DDX_ManagedControl (Better Solution) Pin
fredsparkle28-Jul-08 13:22
fredsparkle28-Jul-08 13:22 
GeneralRe: Caps Lock Problem with DDX_ManagedControl Pin
led mike29-Jul-08 4:43
led mike29-Jul-08 4:43 
QuestionEvent on KeyPress Pin
Polar_Sheep26-Jul-08 8:48
Polar_Sheep26-Jul-08 8:48 
Hi guys,
I have a problem with event on key press enter.
I have a TextBox1, then I am a typing to him and I need to if KeyPress was ENTER call my function Result().

I think I can not do something function like that:
<br />
   void textBox1_KeyPress( Object^ /*sender*/, System::Windows::Forms::KeyPressEventArgs^ e )<br />
   {<br />
      if(e->KeyCode == Key::Enter)  // if press key is enter<br />
        Result();                   // my function<br />
  }<br />


I am looking for some pieces of code in msdn, but I still have a problem somewhere.
KeyPreview in Properties Form1 is true.
I am so sorry for this stupid question Frown | :(
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:12
Mark Salsbery26-Jul-08 9:12 
QuestionRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 9:39
Polar_Sheep26-Jul-08 9:39 
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:42
Mark Salsbery26-Jul-08 9:42 
QuestionRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 9:50
Polar_Sheep26-Jul-08 9:50 
AnswerRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 9:55
Mark Salsbery26-Jul-08 9:55 
GeneralRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:03
Polar_Sheep26-Jul-08 10:03 
GeneralRe: Event on KeyPress [modified] Pin
Mark Salsbery26-Jul-08 10:16
Mark Salsbery26-Jul-08 10:16 
AnswerRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:22
Polar_Sheep26-Jul-08 10:22 
GeneralRe: Event on KeyPress Pin
Polar_Sheep26-Jul-08 10:25
Polar_Sheep26-Jul-08 10:25 
GeneralRe: Event on KeyPress Pin
Mark Salsbery26-Jul-08 10:35
Mark Salsbery26-Jul-08 10:35 
AnswerRe: Event on KeyPress Pin
dybs29-Jul-08 18:34
dybs29-Jul-08 18:34 
QuestionAssignment Operator Woes [modified] Pin
DemSmiley23-Jul-08 17:41
DemSmiley23-Jul-08 17:41 
AnswerRe: Assignment Operator Woes Pin
Mark Salsbery24-Jul-08 5:41
Mark Salsbery24-Jul-08 5:41 
AnswerRe: Assignment Operator Woes Pin
led mike24-Jul-08 6:11
led mike24-Jul-08 6:11 
AnswerRe: Assignment Operator Woes Pin
Mark Salsbery24-Jul-08 7:31
Mark Salsbery24-Jul-08 7:31 
QuestionC++ code to access .NET component. Pin
Sitaram Sukumar22-Jul-08 1:33
Sitaram Sukumar22-Jul-08 1:33 
AnswerRe: C++ code to access .NET component. Pin
Mark Salsbery22-Jul-08 4:28
Mark Salsbery22-Jul-08 4:28 

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.