Print Page | Close Window

Adjusting controls position in status bar

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=11154
Printed Date: 02 October 2024 at 7:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adjusting controls position in status bar
Posted By: vijaymahajan
Subject: Adjusting controls position in status bar
Date Posted: 23 June 2008 at 7:22am

Hello,

Can we adjust the position of controls in status bar? If we add the controls in status bar,like added in ur RibbonSample application,they get added from right to left and appear at the left side of the status bar.
we have 3-4 buttons only,but we want to position them at different different points in the status bar.Means 2 in the middle,one at extreme right,other at extreme left etc.
Can we place the controls as we want?
Please guide me as early as possible.
 
Thanks And Regards,
Vijay.



Replies:
Posted By: Oleg
Date Posted: 23 June 2008 at 11:35am

Hi,

Use SBPS_STRETCH style.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: vijaymahajan
Date Posted: 24 June 2008 at 4:52am
Hello,
I tried to set the stryle for status bar,but its not working.
i used the following line for this

m_wndStatusBar.SetBarStyle(SBPS_STRETCH);

Pleae guide me for doing my task.How can i manage the position of controls in a status bar?

 
Thanks And Regards,
Vijay.



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