Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Forcing >> icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forcing >> icon

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Forcing >> icon
    Posted: 23 March 2007 at 9:19am
How do I get a toolbar in a dialog in a pane to show the >> icon when needed and otherwise not show it?

My current solution (which I don't like) is to enable display of the v button which in turn causes >> to be shown when needed, ideally I do not show v ever as the user cannot customise anything.
 
I enable v with
GetCommandBarsOptions()->bShowExpandButtonAlways = TRUE;
 
If I do not enable bShowExpandButtonAlways then I never get >>.
 
 
Simon HB9DRV
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2007 at 8:39am
I had the exact same problem a few days ago, and after looking through the implementation of CXTPToolBar, I came to the conclusion that it's not possible without changes to the ToolKit.
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2007 at 9:47am
Originally posted by Barto Barto wrote:

I had the exact same problem a few days ago, and after looking through the implementation of CXTPToolBar, I came to the conclusion that it's not possible without changes to the ToolKit.
FWIW it's OK in an MDI app.
Simon HB9DRV
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.233 seconds.