Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShowMenu
Message
From
15/09/2002 11:27:53
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Miscellaneous
Thread ID:
00700603
Message ID:
00700606
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform