BCB CClientDC,该如何处理

BCB CClientDCVC 中的 CClientDC dc(this) 在BCB中如何写[解决办法]CClientDC dc(this) 的this应该指的是C

BCB CClientDC
VC 中的 CClientDC dc(this) 在BCB中如何写

[解决办法]

 CClientDC dc(this) 的this应该指的是CWnd的继承类实列吧,

 HDC hDc = GetDC( this->窗口句柄 );

另外CClientDC是 vc的 mfc类,无法在bcb中使用。