Print Page | Close Window

MenuBar lock at the top

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


Topic: MenuBar lock at the top
Posted By: spelhatre
Subject: MenuBar lock at the top
Date 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




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