Is there any way you can keep the Page Break character from being displayed or used with a richtextbox ? For example. In a chat program, somehow disabling a person being able to send or put it in the textbox.
Printable View
Is there any way you can keep the Page Break character from being displayed or used with a richtextbox ? For example. In a chat program, somehow disabling a person being able to send or put it in the textbox.
Subclass the box, catch the WM_CHAR message and intercept the characters you don't want.