A paint device context can only be called inside the WM_PAINT message handler. More...
#include <DC.h>

Public Member Functions | |
| PaintDC (HWND pHwnd) | |
| PaintDC (PaintDC &&rhs) | |
| virtual HDC | GetHDC () |
| operator HDC () | |
Public Member Functions inherited from neo::DeviceContextIF | |
| bool | BitBlt (int x, int y, int width, int height, HDC sourceDC, int srcX, int srcY, DWORD rasterOp=SRCCOPY) |
| bool | BitBlt (const RECT &rect, HDC sourceDC, const POINT &sourcePoint, DWORD rasterOp=SRCCOPY) |
| void | DrawText (const tstring &text, RECT &boundingRect, UINT format=DT_LEFT|DT_TOP) |
| void | DrawText (const tstring &text, int x, int y) |
| void | FillRect (const RECT &r, HBRUSH brush) |
| void | FillRegion (HRGN region, HBRUSH brush) |
| Size | GetTextSize (const tstring &text, UINT format=DT_LEFT|DT_TOP, LONG maxWidth=1000000) |
| HGDIOBJ | Select (HGDIOBJ object) |
| void | SetBkColor (COLORREF color) |
| void | SetBkModeOpaque () |
| void | SetBkModeTransparent () |
| HBRUSH | SetBrush (HBRUSH brush) |
| HFONT | SetFont (HFONT font) |
| HPEN | SetPen (HPEN pen) |
| HRGN | SetRegion (HRGN region) |
| int | SetStretchBltMode (int mode) |
| void | SetTextColor (COLORREF color) |
| bool | StretchBlt (int x, int y, int width, int height, HDC sourceDC, int srcX, int srcY, int srcWidth, int srcHeight, DWORD rasterOp=SRCCOPY) |
| bool | StretchBlt (const RECT &rect, HDC sourceDC, const RECT &sourceRect, DWORD rasterOp=SRCCOPY) |
A paint device context can only be called inside the WM_PAINT message handler.
|
inlinevirtual |
Subclasses must override this function to make this interface work.
Implements neo::DeviceContextIF.
1.8.5