Microsoft KB Archive/30475

Cannot Run Custom Menu in Window 1 from Window 2 PSS ID Number: Q30475 Article last modified on 01-10-1989 PSS database name: D_MPlan

3.x 4.00

MS-DOS

Summary: If you have a Custom Menu in Window 1, but try to execute it from Window 2, the following error message will appear:

Error in macro

This is a design limitation resulting from the fact that the menu must reside in the Current Window. You can work around this problem by editing the macro in Window 1 so that a Change Window Command (’cw) immediately precedes the command in the macro that calls the custom menu. You also will have to edit each of the macros in the Custom Menu so that the first task each one performs also is a Change Window (’cw). Another way to work around the problem is to copy the Custom Menu to an unused portion of the window in which you wish to use the Custom Menu.

Copyright Microsoft Corporation 1989.