GetClientRect
在CMyView中调用::GetClientRect(this,&rct);为什么出错?
-------------------Configuration: OpenGL - Win32 Debug--------------------
cannot convert parameter 1 from 'class COpenGLView *const ' to 'struct HWND__ *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
BOOL GetClientRect(
HWND hWnd, // handle to window
LPRECT lpRect // address of structure for client coordinates
);
hWnd指向视类的窗口句柄应是那个,this不对吗??
-------------------Configuration: OpenGL - Win32 Debug--------------------
cannot convert parameter 1 from 'class COpenGLView *const ' to 'struct HWND__ *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
BOOL GetClientRect(
HWND hWnd, // handle to window
LPRECT lpRect // address of structure for client coordinates
);
hWnd指向视类的窗口句柄应是那个,this不对吗??
...全文
相关推荐
GetWindowRect,GetClientRect,ScreenToClient,ClientToScreen
花了2早上的时间搞定了,,对于GetWindowRect,GetClientRect,ScreenToClient,ClientToScreen这4个函数的对比做了很详细的解释,自己还做了测试放上面,绝对能很好的理解。
易语言系统开始按钮操作
易语言系统开始按钮操作源码,系统开始按钮操作,MoveWindow,GetClientRect,FindWindowEx,SetWindowText
改变对话框背景颜色
改变对话框背景颜色
易语言API画曲线
易语言API画曲线源码,API画曲线,GetDC,GetClientRect,MoveToEx,LineTo,Polyline,ReleaseDC
易语言日志打印
易语言日志打印源码系统结构:创建日志框,写日志,CreateFontA,GetDC,GetClientRect,SelectObject,SetTextColor,DrawText,DeleteObject,ReleaseDC,DefWindowProc,RedrawWindow,Data_wsprintf1,SetWindowLongA, ======日志 || ||------_启


