 Sample: Standard DLL & example of Creating a Custom Control Class

Summary:

The SPINCUBE sample provides a generic Windows NT dynamic
link library template, demonstrating the use of DLL entry
points, exported variables, using C runtime in a DLL, etc...

This sample also provides a functional example of how
to create a custom control class that may be used by
applications (i.e. SPINTEST.EXE) as well the Dialog Editor.


More Information:

SPINCUBE.DLL contains the control window procedure and the
interface functions required by the Dialog Editor (see
SPINCUBE.C), as well as the control paint routines (see
PAINT.C). SPINTEST.EXE is a small test program that loads
SPINCUBE.DLL and creates a few of the custom controls.

To test SPINCUBE with the Dialog Editor:

1.Start the editor. From the File menu, choose Open Custom.

2.Enter the path and filename of SPINCUBE.DLL.

3.Create a new dialog box and choose a custom control
  button from the control palette (lower-right corner).

4.Click the dialog box to create a SPINCUBE control.

5.Save the dialog box template.

6.Inspect the .DLG file that was created.
