Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - MenuBar lock at the top
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MenuBar lock at the top

 Post Reply Post Reply
Author
Message
spelhatre View Drop Down
Newbie
Newbie


Joined: 09 January 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote spelhatre Quote  Post ReplyReply Direct Link To This Post Topic: MenuBar lock at the top
    Posted: 27 February 2007 at 10:20am
Hello,
I want a CXTPMenuBar object to be locked at the top of the window.
I wrote:
pMenuBar->EnableDocking ( xtpFlagStretched);
pMenuBar->SetPosition(xtpBarTop);
pMenuBar->ModifyBarStyle( CBRS_GRIPPER, 0);

But I can drag another commandbar  to the top of the window, upper the menubar.
Thanks

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