I am making a faux console using winforms for the game I am working on. Right now I am moving a '0' across the screen using the arrow keys.
In order to provide fine grain formatting on the text, I am using a richTextBox for the console display. The background for this box is black.
Problem: If the richTextBox is set to Enabled = false I can use the arrow keys without a problem but the box background color is grey and will not change. If I set it to read-only, when using the arrow keys it will just move the cursor and my arrow key events will not fire.
I am fine with setting the text to read-only and getting my black control color. So my question would be, is there a way to set the control to read-only and still allow for my arrow key events (and not move the cursor)?