CRect rect;
GetClientRect(rect)和GetClientRect(&rect)两个函数好像编译都能通过,两者是一样的么?
GetClientRect(rect)和GetClientRect(&rect)两个函数好像编译都能通过,两者是一样的么?
解决方案 »
- 网络中传来BITMAP这个类型的图像数据,我怎么将他显示在对话框上?
- mfc如何自己写一个函数,让其它函数来调用呢?
- 急:在桌面背景上绘画后,如何保证桌面图标显示正常
- 打印预览和打印效果不一样
- c/s tcp传输文件,很简单的由客户端选择一个文件发过去就行,穿稍大一点的文件就会死掉, 传个几十k就不传了, 为什么啊?
- 把一个子窗口中的内容拖到另一个窗口上,用那些东西?
- 有对com+有较深了解的吗?
- 100分求教!!!!!!
- 清华爱情故事1(转载:)
- ObjectARX 2000 错误 unresolved external symbol
- 如何改变画笔样式和颜色?
- 救救我吧,为什么以前用的好好的图表控件不能DEBUG了呢??
This method copies the client coordinates of the CWnd client area into the structure pointed to by lpRect. The client coordinates specify the upper-left and lower-right corners of the client area. Since client coordinates are relative to the upper-left corners of the CWnd client area, the coordinates of the upper-left corner are (0,0).void GetClientRect(
LPRECT lpRect )
const; 参数应该为&rect,也即是指针,你可以看看两种不同调用方法分别取得的结果。