Graphical Display Objects Samples
Most of the samples show how to use GDI classes — CDC and CDC derived classes and GDI object classes (CPen, CBrush, and so on). The following samples illustrate some special GDI techniques that use the Microsoft Foundation Class Library:
- DIBLOOK shows how to use device-independent bitmaps (DIBs) and color palettes.
- MDI shows how to use a memory display context to hold a bitmap and BitBlitting the bitmap to a window's client display context.
- MDIDOCVW is a version of the MDI sample that uses the document/view architecture.
- SAVER shows how to use GDI objects in a screen saver.
- Also, see samples illustrations of printing and print preview.
See Also
Microsoft Foundation Class Library Samples Index