>Given a circumstance where some application-specific pads & popups have been added to_MSysMenu, could somebody please show me how to dynamically control the contents of a popup when that popup's menu pad has been clicked by the user?
>
>Here is what I have found:
>
>If you use: ON PAD MyPad OF _MSysmenu..., then your only choices (constrained by syntax of this command) are either ACTIVATE POPUP or another ACTIVATE MENU command.
>
>If you use: ON SELECTION PAD MyPad OF _MSysmenu DO MyProc, then you can modify the contents of the popup all you want in MyProc. However, the popup is no longer bound to the menu bar!!! It just pops up in the upper left corner of the screen!
>
>Neither of these fit my needs. When the user clicks a menu pad, I need to dynamically configure what is displayed in the popup (as a part of the menu system) that is subsequently activated. How?
>
>Thanks!
Mark,
How about leaving the ON SELECTION MyPad OF _msysmenu ACTIVATE POPUP MyPopup alone and changing the definition of MyPopup dynamically when the situation changes in the application. IOW, don't wait for the suer to hit the pad before changing the popup, change it whenever the app requires that it be different and it will appear correctly when, and if, the user ever hits the pad.