C# RichTextBox control is like a text box control. But it supports rich text contents. In this example, we will use this control and learn how to read and write rich text content. The example shows how one can apply rich text attributes like bold, italic and fonts to the containing text. The last part of the example walks you through clipboard operation and using the Undo and Redo featured of this control.
In this example, we will see how to configure and use configuration files for dot-net remoting. Here, we create config file for both server and client. These config file replaces the configuration done through code. This example uses the Singleton Remote server example and then replaces some code with configuration file.
C# provides MaskedEdit control to receive formatted input from the user. This example covers how to create MaskedEdit Control and how to create various Input Masks. It also explains how to check the completion of a mask. You will also learn how to add or suppress Prompt and Literals in the output.
CRgn is an MFC Class, which is useful to define regions. Using this one can define the outline of a telephone, DVD, Disc, etc. Once a region is ready, we can assign that to any MFC Window. This way one can display a telephone outline dial-in number pad as a window. In this example, we will create an elliptical MFC Login Dialog using CRgn and Region Path.