关于WM_SIZE [英] about WM_SIZE

查看:76
本文介绍了关于WM_SIZE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我正在编写一个名为CustomNotepad的SDI程序.我的CustomNoteView派生自CFormView类.我在程序的设计表单上添加了一个编辑框.我想调整编辑框的大小以适合我的程序的客户端,因此我尝试处理WM_SIZE,但是调试声明有一些错误...我可以帮我吗?

every body!
I am coding a SDI program named CustomNotepad. My CustomNoteView is derived from CFormView class. I added an edit box on design form of the program. I want to resize size of the edit box to fit the client of my program, so I tried to handle WM_SIZE but there are some bug as Debug Assert... Can I help me?

推荐答案

报价:但是调试调试有一些错误".除非您显示收到的确切消息以及代码中出现的位置,否则我们将无能为力.人们无法猜测程序中发生了什么.
Quote: "but there are some bug as Debug Assert". Unless you show the exact message you received, and where in the code it occurred, we cannot help. People cannot guess what happened in your program.


这篇关于关于WM_SIZE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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