Advertisement

05.21.2008 at 09:26AM PDT, ID: 23421541
[x]
Attachment Details

How to dynamically create and populate popup submenu

Asked by Xyptilon2 in C++ Builder

Tags:

I have a TTrayIcon with a PopupMenu which has several items. One of which has a submenu that needs to be dynamically created / updated. The number of subitems is variabele. Preferably i want something like this

PopupMenuItem->AddSubItem("caption 1")
PopupMenuItem->AddSubItem("caption 2")

etc.. and a way to clear them all again. Any ideas?
Start Free Trial
[+][-]05.22.2008 at 05:13AM PDT, ID: 21622986

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 08:49PM PDT, ID: 21649245

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 05:12AM PDT, ID: 21651122

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 07:50AM PDT, ID: 21652301

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 08:14AM PDT, ID: 21652540

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 09:13AM PDT, ID: 21653122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 09:55AM PDT, ID: 21653501

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C++ Builder
Tags: C++ Builder 2007
Sign Up Now!
Solution Provided By: Kdo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628