WXServer Needs /W Switch When Running in a Window

ID: Q85497

1.00 WINDOWS kbtool

The information in this article applies to:

SUMMARY

When Programmer's WorkBench (PWB) runs a Windows program or CodeView for Windows (CVW), it uses the WX.EXE program (also called WXServer) to allow it to do so. By default, WXServer works from an MS-DOS full screen under Windows. If you are running PWB in a window, WXServer will switch you to full screen when the spawned program returns unless you use the /W command-line option. The /W option can be added to the WX.EXE command line by changing the PWB project template that is currently being used. To change the project template, follow these steps:

1. Make sure that the project template to be edited is the project

   template you want.

2. Make the appropriate changes to the project template.

   a. From the Options menu, choose Project Templates.
   b. Choose Customize Project Template.
   c. Type the following in the Build Rule edit field:

         macro WXFLAGS "/w"

   d. Choose Set Build Rule.
   e. Choose OK.

MORE INFORMATION

For more information about WXServer, query in the online help by typing the following at the DOS prompt:

   qh wx

This invokes the QuickHelp utility with information about WXServer. You can also bring up QuickHelp by selecting the C/C++ 7.0 Reference icon created by setup, and by choosing View,Search, and typing in "wx". Also refer to part 1 of the DETAILS.TXT file.

Additional reference words: kbinf kbinf 1.00 KBCategory: kbtool KBSubcategory: TlsMisc Keywords : kb16bitonly

Last Reviewed: July 18, 1997