Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Rectangle button like PAINT of Windows7 ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Rectangle button like PAINT of Windows7 ?

 Post Reply Post Reply
Author
Message
Shinonome View Drop Down
Groupie
Groupie


Joined: 18 July 2008
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shinonome Quote  Post ReplyReply Direct Link To This Post Topic: Rectangle button like PAINT of Windows7 ?
    Posted: 21 January 2010 at 1:30am
Hi.
I try to make the application using the ribbon.
What should I do to change the round large button on the left-top to square button like PAINT of Windows7 ?

Thankyou.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2010 at 9:12am
Set the style of the button to xtpButtonCaption.

CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)GetCommandBars()->GetMenuBar();
pRibbonBar->GetSystemButton()->SetStyle(xtpButtonCaption);
Back to Top
Shinonome View Drop Down
Groupie
Groupie


Joined: 18 July 2008
Status: Offline
Points: 78
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shinonome Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2010 at 9:35pm
It was change without trouble.

Thankyou !!
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.