Print Page | Close Window

Window-specific menu?

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=12390
Printed Date: 26 June 2024 at 11:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Window-specific menu?
Posted By: Number8
Subject: Window-specific menu?
Date Posted: 09 October 2008 at 5:26pm
Hello,

In our application, several different types of windows can be open.  We reserve a slot in the main menu bar for a 'window-specific' menu. 

Can someone suggest how that might be done with CommandBars?

I imagine we reserve an index for the win-specific menu, and put the appropriate popup menu in that spot in the collection of menus.

Comments and suggestions are appreciated...
TIA.


-------------
Product: Xtreme SuitePro (ActiveX) version 12.1.0
Platform: Windows XP (32bit) - SP 3
Language: C / C++




Replies:
Posted By: Oleg
Date Posted: 10 October 2008 at 2:08am
Hi,
Most easy was is to add all menus in beginning but Show/Hide them in Update handler:
 
Control.Visible = NeedToShow.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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