Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPMessageBar::MeasureContent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPMessageBar::MeasureContent

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: CXTPMessageBar::MeasureContent
    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!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.