浮动文本时使用CMFCToolbar图像被剪切 [英] CMFCToolbar when Floating text & image are getting cut

查看:66
本文介绍了浮动文本时使用CMFCToolbar图像被剪切的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在创建具有从CMFCtoolbar派生的多个工具栏的SDI应用程序.
当我通过复选框条件强制执行浮动操作时,工具栏不会显示按钮的全文,最后一个按钮的图像也会被剪切.我正在为工具栏图像使用PNG.
如果有什么帮助的话.
问候,
Abhi

Hi All,
I am creating an SDI application with multiple toolbars derived from CMFCtoolbar.
When I am floating them which I am forcefully doing by a checkbox condition, the toolbar is not displaying full text of buttons also the image of last button is getting cut. I am using PNG for toolbar images.
If any help would be greatful.
Regards,
Abhi

推荐答案

Set the bLocked parameter of CMFCToolbar::LoadToolBar() function to TRUE. That may solve your problem.


这篇关于浮动文本时使用CMFCToolbar图像被剪切的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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