Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShowMenu
Message
De
15/09/2002 11:27:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Divers
Thread ID:
00700603
Message ID:
00700606
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Ivan:

>I'm using ShowMenu to re-draw the main menu after the user press Logon/Logoff, as I'm using GenMenuX to release bar/pad according to privileges. Today I read in the manual I shouldn't call it directly from my own code, but it seems to be working fine.

The ShowMenu method is called by the Start method in the application object. All it actually does is executes a DO (This.cMenu) which generally equates to "appMenu.mpr". So, it is not doing anything weird and wacky. However, it will probably have the effect of pushing yet another (system) menu on the menu stack. It might be an idea to experiment with clearing down the current sysmenu (_MSYSMENU) and then executing ShowMenu(), so there is only ever one systemenu pushed by the framework.

HTH
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform