Creating a Rich Ink Control

If you are familiar with Windows CE programming, you will notice that the process for creating a Rich Ink control is similar to the process for creating a common control.

    To create and embed a Rich Ink control in your application

  1. Call InitCommonControls to load the common control dynamic-link library (DLL).
  2. Call InitInkX to load and initialize the Rich Ink control.
  3. Call CreateDialog to instantiate a dialog box with the Rich Ink control.

– Or –

  1. Call InitCommonControls to load the common control DLL.
  2. Call InitInkX to load and initialize the Rich Ink control.
  3. Call CreateWindow and specify the class name as WC_INKX.

The EReceipt and InkControl sample codes provide two examples of the implementation.