Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Menus in a class
Message
From
11/04/2002 14:34:03
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Dynamic Menus in a class
Miscellaneous
Thread ID:
00643880
Message ID:
00643880
Views:
51
I am trying to create an exe that loads it's menus based on the dll's that are in a specific directory. The program finds the dlls on load and calls a method that would create a new menu or add a menu item to a menu that already exists.
For example the program finds a dll with the clsSaveFile class in it. The class has a CreateMenu method that the main program calls. I want the CreateMenu method to check for a file menu in the main programs form and if there is not one I want the class to create one and add the Save File item to the menu. If there is already a file menu I want the class just to add the Save File item to the already existing menu.

I also want the code that is executed by clicking on the menu item to be stored in the dlls.

Anybody have any ideas?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform