Drawing in RichTextEdit
-
I have the class MyText devived from RichTextEdit and I have inside and an other structure (System.Collection.ArrayList). In the main form I open a TabControl and like pages I use this class . In the new class I draw ellipses .When the TabPage lose the focus the draw disapear . I override OnPaint , where I redraw everything , but this override is not doing what is meent to do . Hwo I make the drawing to be seen on screen (ClientRectangle).
-
I have the class MyText devived from RichTextEdit and I have inside and an other structure (System.Collection.ArrayList). In the main form I open a TabControl and like pages I use this class . In the new class I draw ellipses .When the TabPage lose the focus the draw disapear . I override OnPaint , where I redraw everything , but this override is not doing what is meent to do . Hwo I make the drawing to be seen on screen (ClientRectangle).