Skip to main content
Changed title.
Link
Abijeet Patro
  • 2.9k
  • 4
  • 39
  • 65

Creating a consoleConsole like UI using rich text boxin Windows Forms

Source Link
Abijeet Patro
  • 2.9k
  • 4
  • 39
  • 65

Creating a console like UI using rich text box

Hi I'm trying to create a console like interface using a richtextbox in WinForms using C#.

The reason why I am using a richtextbox is I want a few features such as selection,copy-paste that are not present in a normal console application.

I was wondering if it was possible to change the blinking cursor from the blinking "|" to a blinking "_"

Even if I could hide the original "|", I could then implement a functionality on the onchange event of the richtextbox to display the blinking, "_"

I also had another related question, but I don't know if I should put that here as well.

Also, if it will be easier to implement something like this using WPF, I'm willing to move.