Print Page | Close Window

CXTPMessageBar::MeasureContent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11995
Printed Date: 05 May 2024 at 8:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPMessageBar::MeasureContent
Posted By: znakeeye
Subject: CXTPMessageBar::MeasureContent
Date Posted: 27 August 2008 at 10:41am
Shouldn't CXTPMessageBar::MeasureContent take the icon size into consideration? As it is now, a 32x32-icon becomes obscured...
 
Let me rephrase...
Consider the RibbonSample application, and change this line:
XTPImageManager()->SetIcon(IDC_MESSAGEBAR_WARNING, IDC_MESSAGEBAR_WARNING);
to this:
 
XTPImageManager()->SetIcon(IDC_MESSAGEBAR_WARNING, IDC_MESSAGEBAR_WARNING, CSize(48, 48));
 
When I use that icon I expect the message bar to be sized accordingly!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net