Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Hiding the tab of RibbonBar but the left icon gone
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hiding the tab of RibbonBar but the left icon gone

 Post Reply Post Reply
Author
Message
YueZJ View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2009
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote YueZJ Quote  Post ReplyReply Direct Link To This Post Topic: Hiding the tab of RibbonBar but the left icon gone
    Posted: 27 April 2009 at 11:57pm
Hi,

When I use the CXTPRibbonBar::SetTabsVisible function like below:

// ......
pRibbonBar->SetTabsVisible( FALSE );


The left big icon of RibbonBar disappeard.


Is there a way to keep the icon when hidding the tabs?

thanks!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 28 April 2009 at 1:19am
Hi,
 
Don't call SetTabsVisible(FALSE) then. There is no space for big icon if you hide them.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
YueZJ View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2009
Location: China
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote YueZJ Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2009 at 1:55am
Thank you oleg!

But how about an icon with 16*16 size? Like that:
(by Adobe PS, hidding tabs of course)
What should I do? Sorry for my poor English
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.047 seconds.