共用方式為


CHwndRenderTarget::GetHwnd

Returns the HWND associated with this render target.

HWND GetHwnd() const;

Return Value

The HWND associated with this render target.

Requirements

Header: afxrendertarget.h

See Also

Reference

CHwndRenderTarget Class