Utility Classes

The following MFC-independent utility classes are provided:

  • CImage   Provides enhanced bitmap support, including the ability to load and save images in JPEG, GIF, BMP, and Portable Network Graphics (PNG) formats.

  • CPoint   Provides an implementation for storing coordinate (x, y) pairs.

  • CRect   Provides an implementation for storing coordinates of rectangular areas.

  • CSize   Provides an implementation for storing distance, relative positions, or paired values.

  • CString   Provides an implementation for storing character strings.

  • CAdapt   A simple template used to wrap classes that redefine the address-of operator.

  • _U_RECT   An argument adapter class that allows either RECT pointers or references to be passed to a function that is implemented in terms of pointers.

See Also

Other Resources

ATL Class Overview