Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to use 64*64 Control icons in Ribbon(10.4)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to use 64*64 Control icons in Ribbon(10.4)

 Post Reply Post Reply
Author
Message
dijesh.k.a View Drop Down
Newbie
Newbie
Avatar

Joined: 15 October 2006
Location: India
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote dijesh.k.a Quote  Post ReplyReply Direct Link To This Post Topic: How to use 64*64 Control icons in Ribbon(10.4)
    Posted: 10 January 2007 at 4:50am

Hello,

 In the 10.3 I have use the 64*64 icons and 24*24 icons for Ribbons Controls by using
 

CSize size(64,64);

pCommandBars->GetCommandBarsOptions()->szLargeIcons =size;

size.SetSize(24,24);

pCommandBars->GetCommandBarsOptions()->szPopupIcons =size;

pCommandBars->GetCommandBarsOptions()->szIcons =size;

But this code is not working in 10.4 and the ribbon is created with standard icon size.I need 64*64 for Large and 24*24 for Popup.
 
Need Help 
 
Dijesh.K.A
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2007 at 9:43am
Hello,
call
pCommandBars->GetPaintManager()->m_bAutoResizeIcons = FALSE;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.032 seconds.