Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Adjusting controls position in status bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adjusting controls position in status bar

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post Topic: Adjusting controls position in status bar
    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.
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: 23 June 2008 at 11:35am

Hi,

Use SBPS_STRETCH style.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post 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.
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.188 seconds.