Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Menus in a class
Message
De
11/04/2002 14:34:03
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Dynamic Menus in a class
Divers
Thread ID:
00643880
Message ID:
00643880
Vues:
52
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform