Quantcast
Viewing all articles
Browse latest Browse all 3773

Menu challenge

Dear all, I want to ask the community before I approach this task. I’ve read a lot and I’m still unsure how to approach this, so I want to lay down the task as clearly as I can.

Below is a screenshot of our App. It’s a set of tools for doctor’s and students alike.

THE TASK
We want to implement a top-level menu for each panel. As is, you access functions either directly from the interface (clicking icons / dragging dropping etc.) or by right-clicking, as seen below:

We want to make these menus accessible from the standard Windows / Mac menu., loading / showing the panels menu only when the panel is visible and hiding / removing it when panel is destroyed / not visible.

The panel itself is a container which is hosted by a custom TabBar control, and loaded dynamically in code.

The question:
1. How can I enable / disable / add / remove options from the menu from within the container.
*2. How can I catch the selected menu (created by the panel) and from WITHIN the panel.

I am unable to get menuhandlers working from within the container. Also, the app has a built-in notification system where any element can subscribe to various notifications, for example, a panel opening / closing, so it’s easy to create communications back and forth between the Main window and the container control, but… I am open to suggestions and guidance from the pros in this lovely forum.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3773

Trending Articles