unsigned int a = (unsigned int)rc.right;
unsigned int b = (unsigned int)rc.bottom;
rc为RECT类型的,为什么转换后a,b为0呢?
unsigned int b = (unsigned int)rc.bottom;
rc为RECT类型的,为什么转换后a,b为0呢?
解决方案 »
- 请教:在窗口(CScrollView的派生类)中写一个字。要求:字不会随着窗口滚动而上下移动。
- 诸工 :请问switch循环 case最大值是多少?
- 关于程序异常退出的问题,谢谢!
- 那位行业人士能救小弟于水火-〉请教金蝶公司在ERP和整个软件行业中的位置!!!
- 请问如何区别简体字和繁体字?up有分,解决问题者可另开帖加分!
- 如何从剪贴扳中得到字符串呢?
- 我使用SPIN微调控键时,为何按下他居然在增加,按上,他却减少?
- lyfupload组件的使用
- 用MFC怎么做文件夹比较的程序
- 如何在Visual Studio2008里面调试release版本的程序
- activeX 如何响应oncreate消息?? 100分
- vc的bug?不知道大家遇到过没有。
unsigned int b = (unsigned int)rc.bottom;应该没有问题的!是不是rc没有初始化
写成
unsigned int a = (unsigned int)(rc.right);
unsigned int b = (unsigned int)(rc.bottom);
也不行啊
CSDN小助手是一款脱离浏览器也可以访问Csdn论坛的软件
界面:http://blog.csdn.net/Qqwwee_Com/archive/2005/10/16/504620.aspx
下载:http://szlawbook.com/csdnv2/csdnv2.rar为神六喝彩,向所有科技工作者致敬!
拒绝日货。