Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 C++ 代码:
HRESULT hr = S_OK; hr = DwmExtendFrameIntoClientArea(this->Handle, &margins);
但是,当我尝试编译时,出现以下错误:
error C2664: 'DwmExtendFrameIntoClientArea' : cannot convert parameter 1 from 'System::IntPtr' to 'HWND'
还有其他方法可以获取HWND我的表格吗?
HWND