Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can i convert VC++6 's Resources files to C# 's Resources Pin
Stephane Rodriguez.25-Sep-02 20:27
Stephane Rodriguez.25-Sep-02 20:27 
GeneralApplication.StartupPath.ToString(); Pin
Nick Parker25-Sep-02 17:25
protectorNick Parker25-Sep-02 17:25 
GeneralRe: Application.StartupPath.ToString(); Pin
James McCutcheon25-Sep-02 19:59
James McCutcheon25-Sep-02 19:59 
QuestionOutputDebugString or its ? Pin
imran_rafique25-Sep-02 12:18
imran_rafique25-Sep-02 12:18 
AnswerRe: OutputDebugString or its ? Pin
Paul Riley25-Sep-02 12:32
Paul Riley25-Sep-02 12:32 
GeneralAccessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:09
Waleed Eissa25-Sep-02 12:09 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
leppie25-Sep-02 12:26
leppie25-Sep-02 12:26 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:31
Waleed Eissa25-Sep-02 12:31 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
leppie25-Sep-02 12:53
leppie25-Sep-02 12:53 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
David Stone25-Sep-02 13:41
sitebuilderDavid Stone25-Sep-02 13:41 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
James T. Johnson25-Sep-02 16:02
James T. Johnson25-Sep-02 16:02 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
David Stone26-Sep-02 10:23
sitebuilderDavid Stone26-Sep-02 10:23 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
James T. Johnson26-Sep-02 12:02
James T. Johnson26-Sep-02 12:02 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:36
Waleed Eissa25-Sep-02 12:36 
GeneralDetecting Enter in a Single-line Textbox Pin
Waleed Eissa25-Sep-02 11:30
Waleed Eissa25-Sep-02 11:30 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
leppie25-Sep-02 12:16
leppie25-Sep-02 12:16 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Waleed Eissa25-Sep-02 12:33
Waleed Eissa25-Sep-02 12:33 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Paul Riley25-Sep-02 12:57
Paul Riley25-Sep-02 12:57 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
leppie25-Sep-02 13:03
leppie25-Sep-02 13:03 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Waleed Eissa27-Sep-02 11:09
Waleed Eissa27-Sep-02 11:09 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Paul Riley27-Sep-02 12:32
Paul Riley27-Sep-02 12:32 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Waleed Eissa27-Sep-02 11:46
Waleed Eissa27-Sep-02 11:46 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Paul Riley27-Sep-02 12:48
Paul Riley27-Sep-02 12:48 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Anonymous27-Sep-02 13:04
Anonymous27-Sep-02 13:04 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Paul Riley27-Sep-02 13:15
Paul Riley27-Sep-02 13:15 
Didn't mean to sound critical there, just offering several options and why I thought one would be better than another. Smile | :)

I assume it doesn't raise the event because it raises the form-level events first. The first thing in the form's Key events will be "if [enter pressed] and AcceptButton != null then simulate AcceptButton.Click".

The second thing it will do is "raise the same Key event for the active control".

While this sequence doesn't quite fit what you wanted it to do, it is the sequence that makes sense. People are more likely to want to trap key presses at the form level BEFORE the control level.

Paul

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.