摘要:
几种获得DC句柄的方法 1. BeginPaintHDC BeginPaint( HWND hwnd, // handle to window LPPAINTSTRUCT lpPaint // paint information);这种方法只能用在WM_PAINT消息中,必须和EndPaint函数成对使用。在调用BeginPaint后无效区被设为有效。2. GetDCHDC GetDC( HWND hWnd // handle to window); 获得指定窗口的客户区DC,要和ReleaseDC成对使用。3. GetWindowDCHDC GetWindo... 阅读全文
posted @ 2013-05-10 15:16
弗神
阅读(595)
评论(0)
推荐(0)

浙公网安备 33010602011771号