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

问题描述

你好

我使用以下代码将tooptip添加到Ribbon:

Hello

I add tooptip to Ribbon using the following code:

CMFCRibbonColorButton* pRootColorBtn = DYNAMIC_DOWNCAST( CMFCRibbonColorButton, pRibbonBar->FindByID(ID_DUPLICATE_ROOT_COLOR));

pRootColorBtn->SetToolTipText( "Selection of Color for Root File of Duplicate Files");
strText = "\n\nClick on this Button to Select the Color of the Duplicate Root File. ";
strText += "\n\nA Duplicate Root File is the First File of a List of Files that will be renamed with the same name.";
strText += "\nThis happens when the Renaming Mask is poorly discriminant or when pictures are taken in Burst Mode.";
pRootColorBtn->SetDescription( strText);


我想更改工具提示矩形的大小,以便增加宽度(我不喜欢默认宽度...)

任何想法如何做到这一点?感谢您的帮助..

Thierry


I would like to change the size of the tooltip rectangle, so that the width is inscreased (I do not like the default width ...)

Any idea how to do this ? Thanks for your help ..

Thierry

推荐答案



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

08-21 09:28