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

C#

 
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 
GeneralRe: Detecting Enter in a Single-line Textbox Pin
Waleed Eissa27-Sep-02 12:24
Waleed Eissa27-Sep-02 12:24 
What I have discovered so far is that the KeyUp event is raised whenever Enter is pressed (unlike KeyDown). But it is still raised after the Click event for the AcceptButton is raised.

Now, I'm trying to use OnNotifyMessage() (first, you have to use SetStyle() to enable the control to receive Windows messages and derive your class from System.Windows.Forms.Form). I have to use the Message ID for the KeyDown Windows message (WM_KEYDOWN). I think it can be done this way, but there must be an easier way. Any clues?

(a.k.a. Wal2k)
www.wal2k.com

GeneralRe: Detecting Enter in a Single-line Textbox Pin
Paul Riley27-Sep-02 12:54
Paul Riley27-Sep-02 12:54 

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.