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

Separator and CommandBars

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


Joined: 17 November 2008
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote v_light Quote  Post ReplyReply Direct Link To This Post Topic: Separator and CommandBars
    Posted: 26 March 2009 at 5:58am
Hello!
 
Is it possible to dynamically add the SEPARATOR item to the existing menu/toolbar?
Because now I can add them only like "MENUITEM SEPARATOR" or simular in toolbar, when I create them first time.
 
Thanks in advance!
 
--------------------------------------
Product: Xtreme ToolkitPro version 12.0.0
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: 26 March 2009 at 7:12am
Hi,
 
Just call pControl->SetBeginGroup(TRUE) for control before separator.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
v_light View Drop Down
Groupie
Groupie


Joined: 17 November 2008
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote v_light Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2009 at 7:38am

right! Thanks a lot!

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.078 seconds.