How do I implement a Recent Files Menu?


Author
Message
Arthur Warren
Arthur Warren
Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)
Group: Forum Members
Posts: 9, Visits: 1
This is driving me crazy.

I have a class derived from NDiagramOptionMenuCommand (call it MRUCommand), and another one inheriting from NDiagramButtonCommand (call it MRUItemCommand).

I'm creating a number of MRUItemCommand instances, with the data I need for later, and adding these to the Commander.Commands collection off the commandbar manager. Each MRUItemCommand gets its own commandID, starting from 700.

I'm creating the MRUCommand, and it's setting base.Items to the array of command ids that I've just created.

I've added the MRUCommand to the file menu - it shows up, but none of the sub items do.

What am I missing to get this thing to display properly?

Thanks,
Herb.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search