In an earlier article, I developed a set of managed wrapper classes for the Text Object Model (TOM); the API that underpins the RichEdit/RichTextBox control and provides an object model that is document-centric (rather than selection-centric, like the controls themselves). With it, you can efficiently manipulate rich text and, using the managed classes, do so… Continue reading

I’ve recently been doing a lot of work with the WinForms RichTextBox control, trying to implement the familiar red wavy underlines associated with spell-checking. After some research, I discovered that the underlying (native) RichEdit control used by the RichTextBox does in fact support this style of underlining. The catch? It is only accessible through the… Continue reading

When it comes to displaying the progress of a long-running operation to the user, there are many options available to a GUI designer: Change the cursor to an hourglass Change the caption on the status bar Show an animated glyph on the window Show a dialog box A number of factors could affect which method… Continue reading