Home > Software engineering >  [for] the MFC same window to create more SCOPE
[for] the MFC same window to create more SCOPE

Time:09-26

Doing one interface, how to tune over and over again in the same interface plotlab the scope of the classes of the static drawing?

CodePudding user response:

The CDC
The CDC class encapsulates The functionality of a Windows device - The context, which is a GDI - managed structure containing information about The operating modes and The current selections of a device, to as a display or a printer.

CClientDC
The CClientDC class is derived from The CDC and takes care of calling The Windows functions provides GetDC at construction time and ReleaseDC at destruction time. This means that The device context associated with a CClientDC object is The client area of a window.

CodePudding user response:

Drawing is very simple you can encapsulate a trying to class, is ok,
  • Related