Поделиться через


CPaintDC::m_ps

m_ps is a public member variable of type PAINTSTRUCT.

PAINTSTRUCT m_ps;

Заметки

It is the PAINTSTRUCT that is passed to and filled out by CWnd::BeginPaint.

The PAINTSTRUCT contains information that the application uses to paint the client area of the window associated with a CPaintDC object.

Note that you can access the device-context handle through the PAINTSTRUCT. However, you can access the handle more directly through the m_hDC member variable that CPaintDC inherits from CDC.

Пример

See the example for CPaintDC::m_hWnd.

Требования

Header: afxwin.h

См. также

Основные понятия

CPaintDC Class

CPaintDC Members

Hierarchy Chart