Print Page | Close Window

Rectangle button like PAINT of Windows7 ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=16045
Printed Date: 01 May 2025 at 2:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Rectangle button like PAINT of Windows7 ?
Posted By: Shinonome
Subject: Rectangle button like PAINT of Windows7 ?
Date 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.



Replies:
Posted By: SuperMario
Date Posted: 21 January 2010 at 9:12am
Set the style of the button to xtpButtonCaption.

CXTPRibbonBar* pRibbonBar = (CXTPRibbonBar*)GetCommandBars()->GetMenuBar();
pRibbonBar->GetSystemButton()->SetStyle(xtpButtonCaption);


Posted By: Shinonome
Date Posted: 21 January 2010 at 9:35pm
It was change without trouble.

Thankyou !!



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