不用mfc,使用win32的方式,如何得到当前激活的窗体的设备内容句柄hdc如题[解决办法]GetDC/ReleaseDC[解决办法]HWND WindowFromDC( HDC hDC // handle to window );