Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Window-specific menu?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Window-specific menu?

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


Joined: 29 July 2008
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Number8 Quote  Post ReplyReply Direct Link To This Post Topic: Window-specific menu?
    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++

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: 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
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.172 seconds.