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

C#

 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Nader Elshehabi10-Sep-06 2:48
Nader Elshehabi10-Sep-06 2:48 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Arjun "Mjolnir" Bahree10-Sep-06 3:16
Arjun "Mjolnir" Bahree10-Sep-06 3:16 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Green Fuze11-Sep-06 2:05
Green Fuze11-Sep-06 2:05 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Green Fuze11-Sep-06 2:03
Green Fuze11-Sep-06 2:03 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Green Fuze10-Sep-06 3:36
Green Fuze10-Sep-06 3:36 
AnswerRe: question about a WEIRD problem in sending mail using smtp client. Pin
Amar Chaudhary9-Sep-06 17:47
Amar Chaudhary9-Sep-06 17:47 
GeneralRe: question about a WEIRD problem in sending mail using smtp client. Pin
Green Fuze9-Sep-06 21:53
Green Fuze9-Sep-06 21:53 
Questionbrief question about sending a message to a control Pin
likefood9-Sep-06 9:29
likefood9-Sep-06 9:29 
I have this RichTextBox. I want to send it the message behind the Keys.PageDown key. Seems to me it worked if I used the OnKeyPress, but OnKeyPress takes a char, not a Keys enum (so I tried to use OnKeyDown/OnKeyUp, but it didn't do anything).

I figured I could then try RichTextBox.ProcessKeyEventArgs, but then I quickly learned that it took a ref Message argument, not a KeyEventArgs argument (kinda deceptive if you ask me).

So, I tried to start giving it the right message, but I'm stuck on the last three parameters of Message.Create(). Where do I find a list of int messages (and its appropriate wparam and lparam arguments)?

I've tried looking in my MSDN, but "message" is kind of a vague term to look for (I looked and didn't see anything useful). And I tried to do a search on CP, but didn't see what I'm looking for.

All I want to send it is the pagedown key message. Can someone please help me fill in the blanks?:
public class myRichTextBox : RichTextBox
{
	public void PageDown()
	{
		base.ProcessKeyEventArgs(ref Message.Create(this.Handle, [what goes here?]));
	}
}


-Daniel
Typing too fast fro my owngood

AnswerRe: brief question about sending a message to a control Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:48
Arjun "Mjolnir" Bahree9-Sep-06 9:48 
GeneralRe: brief question about sending a message to a control [modified] Pin
likefood9-Sep-06 10:07
likefood9-Sep-06 10:07 
GeneralRe: brief question about sending a message to a control Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:27
Arjun "Mjolnir" Bahree9-Sep-06 10:27 
GeneralRe: brief question about sending a message to a control Pin
likefood9-Sep-06 10:26
likefood9-Sep-06 10:26 
GeneralRe: brief question about sending a message to a control Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:33
Arjun "Mjolnir" Bahree9-Sep-06 10:33 
GeneralRe: brief question about sending a message to a control Pin
likefood9-Sep-06 12:10
likefood9-Sep-06 12:10 
GeneralRe: brief question about sending a message to a control Pin
Arjun "Mjolnir" Bahree10-Sep-06 3:10
Arjun "Mjolnir" Bahree10-Sep-06 3:10 
Questionis there a winform label control Pin
TheCardinal9-Sep-06 9:09
TheCardinal9-Sep-06 9:09 
AnswerRe: is there a winform label control Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:34
Arjun "Mjolnir" Bahree9-Sep-06 9:34 
GeneralRe: is there a winform label control Pin
TheCardinal9-Sep-06 9:55
TheCardinal9-Sep-06 9:55 
GeneralRe: is there a winform label control Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:39
Arjun "Mjolnir" Bahree9-Sep-06 10:39 
GeneralRe: is there a winform label control Pin
TheCardinal9-Sep-06 19:03
TheCardinal9-Sep-06 19:03 
GeneralRe: is there a winform label control Pin
Arjun "Mjolnir" Bahree10-Sep-06 3:18
Arjun "Mjolnir" Bahree10-Sep-06 3:18 
QuestionRMI JAVA Pin
charbelasmar9-Sep-06 7:55
charbelasmar9-Sep-06 7:55 
AnswerRe: RMI JAVA Pin
WillemM9-Sep-06 8:53
WillemM9-Sep-06 8:53 
AnswerRe: RMI JAVA Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:36
Arjun "Mjolnir" Bahree9-Sep-06 9:36 
QuestionHow: one service program for two similar forms? Pin
N3croman9-Sep-06 7:24
N3croman9-Sep-06 7:24 

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.