Click here to Skip to main content
15,924,581 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 5:14
matthias s.19-Jun-04 5:14 
AnswerRe: Calling the default ctor from an overloaded ctor? Pin
Colin Angus Mackay19-Jun-04 4:41
Colin Angus Mackay19-Jun-04 4:41 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Nick Parker19-Jun-04 4:47
protectorNick Parker19-Jun-04 4:47 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Colin Angus Mackay19-Jun-04 5:07
Colin Angus Mackay19-Jun-04 5:07 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Nick Parker19-Jun-04 5:37
protectorNick Parker19-Jun-04 5:37 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 5:10
matthias s.19-Jun-04 5:10 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Heath Stewart19-Jun-04 7:19
protectorHeath Stewart19-Jun-04 7:19 
GeneralTwo RTF Questions Pin
XanderSon19-Jun-04 3:18
XanderSon19-Jun-04 3:18 
Hi everyone,

I am trying to do two things with the RTF control that I thought would be simple.

Firstly when the user presses the return key, the contents of the textbox is sent to be displayed, however this causes the text insertion cursor to move down one line, and stay there. I can't seem to get it move, even using Clear(); and ResetText();

if (e.KeyCode == Keys.Return)
{
if (this.rtfCompose.Text.Length != 0)
{
// Clear
this.rtfCompose.Clear();
this.rtfCompose.ResetText();
}
}

However that doesnt move the cursor back up to 0,0.

Also, when the user presses Return, the text gets sent to another RTF control for display. However, once the text goes beyond the size of the control, everything that's added cannot be seen unless the user scrolls. How would it be possible to scroll the existing text up and keep the new text (Added to the bottom) in view?

Thanks!
GeneralRe: Two RTF Questions Pin
Heath Stewart19-Jun-04 7:14
protectorHeath Stewart19-Jun-04 7:14 
GeneralRe: Two RTF Questions Pin
XanderSon19-Jun-04 13:51
XanderSon19-Jun-04 13:51 
QuestionHow to use MFC dll in C#? Pin
ting66819-Jun-04 3:14
ting66819-Jun-04 3:14 
AnswerRe: How to use MFC dll in C#? Pin
Heath Stewart19-Jun-04 6:43
protectorHeath Stewart19-Jun-04 6:43 
GeneralRe: How to use MFC dll in C#? Pin
ting66820-Jun-04 2:00
ting66820-Jun-04 2:00 
GeneralRe: How to use MFC dll in C#? Pin
Heath Stewart20-Jun-04 11:54
protectorHeath Stewart20-Jun-04 11:54 
GeneralRe: How to use MFC dll in C#? Pin
ting66820-Jun-04 15:45
ting66820-Jun-04 15:45 
GeneralRe: How to use MFC dll in C#? Pin
Heath Stewart20-Jun-04 17:48
protectorHeath Stewart20-Jun-04 17:48 
GeneralRe: How to use MFC dll in C#? Pin
Heath Stewart20-Jun-04 11:54
protectorHeath Stewart20-Jun-04 11:54 
GeneralRe: How to use MFC dll in C#? Pin
ting66820-Jun-04 21:32
ting66820-Jun-04 21:32 
GeneralRe: How to use MFC dll in C#? Pin
Heath Stewart21-Jun-04 2:08
protectorHeath Stewart21-Jun-04 2:08 
GeneralRe: How to use MFC dll in C#? Pin
ting66821-Jun-04 3:08
ting66821-Jun-04 3:08 
GeneralRe: How to use MFC dll in C#? Pin
Heath Stewart21-Jun-04 3:13
protectorHeath Stewart21-Jun-04 3:13 
GeneralDrive Share account Pin
Guinness4Strength19-Jun-04 2:49
Guinness4Strength19-Jun-04 2:49 
GeneralRe: Drive Share account Pin
Heath Stewart19-Jun-04 7:03
protectorHeath Stewart19-Jun-04 7:03 
GeneralRe: Drive Share account Pin
Guinness4Strength19-Jun-04 11:15
Guinness4Strength19-Jun-04 11:15 
GeneralRe: Drive Share account Pin
Heath Stewart20-Jun-04 9:50
protectorHeath Stewart20-Jun-04 9:50 

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.