WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

FileMenu

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

FileMenu Usage and Limitations

Keywords:      popmenu.ini filemenu.ini

Question:

I am developing some MNW files which will be used by several people. I would like to be able to install one copy of each file in a central location and make winbatch look in this directory instead of program files\winbatch\system for MNW files. Can I do this?

Another question on MNW files; I have tried displaying a box (boxopen, Boxtext) to display the processing status, but the box never becomes visible. No error messages or complaints, just no box. When a group of files is selected the processing can be kind of slow and there is nothing that clearly tells someone that files are still being processed.

Answer:

I think you will find a description of the search order for looking for the files. It can also be controlled by filemenu.ini and popmenu.ini

Question (continued):

The filemenu.ini file (which I never did find anything on in the tech support or fixes areas) is just what I wanted. Thanks.

What about the boxopen question in my earlier post? Should I be able to display a box from a filemenu program?

Answer:

Sorry. Only Winbatch proper supports the Box functions. FileMenu and PopMenu do not...although FileMenu and PostMenu can Run Winbatch scripts...

Question (continued):

Ok, so I can't put up a box from a filemenu program. I could call a winbatch prog and do it from there.

An alternative would be to change the cursor to hourglass or something like that while my filemenu was active. I looked in the tech support area and there was an entry for changing the cursor when over a winbatch window. I won't have a window at all. Can I change the default cursor (for everywhere) while my filemenu is running?

Answer:

Nope. In 32 bit Windows each application controls its own cursor. No global cursors we can manage.

Question:

Can FileMenu Conditionally Create Menu Items?

Is it possible to make filemenu context menu items appear conditionally? I would like to snoop at files in the current directory in my filemenu initialization and decide what menu choices to present based on what I find.

Answer:

Sorry. FileMenu just is not that smart. It can do the "global" stuff and the "extension specific" stuff.
Article ID:   W13020
Filename:   FileMenu Usage and Limitations.txt
File Created: 1999:04:15:16:51:12
Last Updated: 1999:04:15:16:51:12