BCB CClientDC,该如何处理
BCB CClientDC
VC 中的 CClientDC dc(this) 在BCB中如何写
------解决方案--------------------
CClientDC dc(this) 的this应该指的是CWnd的继承类实列吧,
HDC hDc = GetDC( this->窗口句柄 );
另外CClientDC是 vc的 mfc类,无法在bcb中使用。
VC 中的 CClientDC dc(this) 在BCB中如何写
------解决方案--------------------
CClientDC dc(this) 的this应该指的是CWnd的继承类实列吧,
HDC hDc = GetDC( this->窗口句柄 );
另外CClientDC是 vc的 mfc类,无法在bcb中使用。