如何在VC2008 mdi项目中修改字幕高度? [英] How to Modified the Caption Height in a VC2008 mdi project?

查看:96
本文介绍了如何在VC2008 mdi项目中修改字幕高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在MDI VC2008项目中使用bmp图片重绘Mainframe标题,但是标题高度太小,无法容纳该图片.有人可以帮我吗?非常感谢.

I want to redraw the Mainframe caption with a bmp picture in a MDI VC2008 Project.However, the caption height is too small to hold the picture. Could somebody lend me a hand? Thanks a lot.

推荐答案

阅读: ^ ]


我可以通过重写WM_NCCALCSIZE消息来修改基于对话框的应用程序的标题大小;但是,mdi的帧结构要复杂得多.更改WM_NCCALCSIZ后,将无法绘制无客户区域的放大部分.太奇怪了.
I could modify the caption size of a dialog based application, with rewriting WM_NCCALCSIZE message; however the frame structure of mdi is much more complicated one. Once I changed WM_NCCALCSIZ, I cannot paint the enlarged part of the none client area. It''s too strange.


这篇关于如何在VC2008 mdi项目中修改字幕高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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