从哪里获得CFormView的初始客户区重新定位! [英] Where to get the initial client area rectenle of an CFormView !?

查看:80
本文介绍了从哪里获得CFormView的初始客户区重新定位!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从哪里获取 CFormView的初始客户区矩形

因为调用 GetClientRect OnIntialUpdate 将给我一个 0(ZERO)尺寸的矩形



请帮帮我



感谢您的理解。

Where to get the initial client area rectangle of an CFormView?
Because calling GetClientRect from OnIntialUpdate will give me a 0 (ZERO) size rectangle

Help me please

Thank you for your understanding.

推荐答案

直到窗口才能看到矩形是可见的。 OnIntialUpdate 为时尚早,请参阅 http://msdn.microsoft.com/en-us/library/xc7fw3a0(v = vs.90).aspx [ ^ ]。
You cannot get the rectangle until the window is visible. OnIntialUpdate is too early, see http://msdn.microsoft.com/en-us/library/xc7fw3a0(v=vs.90).aspx[^].


这篇关于从哪里获得CFormView的初始客户区重新定位!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆