【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.32.11 Window::GetDC
Contents
Description
Retrieves a device context for the client area.
Syntax
DeviceContext GetDC( )
Parameters
Return
Identifies the device context for the window client area if successful; otherwise, the return value is NULL.
Examples
EX1
int Window_GetDC_ex1(bool bX = true) { WorksheetPage MyDlg = Project.WorksheetPages(0); DeviceContext dc = MyDlg.GetWindow().GetDC(); return dc.GetDeviceCaps(bX? LOGPIXELSX : LOGPIXELSY); }
Remark
See Also
Header to Include
origin.h