PRODUCT : Borland C++ NUMBER : 1326 VERSION : 3.1 OS : WIN DATE : October 25, 1993 PAGE : 1/2 TITLE : Information for using newer versions of BWCC.DLL. With the release of Paradox for Windows and Borland Pascal 7.0, a newer BWCC.DLL will be present on computer systems that have installed either or both of these programs. An apparent incompatibility exists with Resource Workshop 1.02 and the BWCC.DLL (from either PDX for Windows, or Borland Pascal 7.0) when editing Dialog boxes and using Borland Windows Custom Controls. The problem presents itself when editing .RC files. When the problem appears, a 'Resource Workshop 164 : Compile Error', 'Incomplete expression' messagebox will be presented to the user when the dialog box should not be presented. To reproduce the effect, add a Borland Group Box resource to a new dialog box, double click on the control to gain access to the style dialog and press the OK button. At this point, if the aforementioned dialog box is presented, the defines listed below need to be added to the .RC file. Despite its appearance, the Resource Workshop Version 1.02 is compatible with the newer BWCC.DLL, but requires some additional defines, which are listed below and can be used as an individual header file or added to the BWCC.H header file that comes with Borland C++ 3.1. If the decision is made to add these defines to BWCC.H, add them immediately after the line containing '#define BSS_DLGERASE ...'. A new version of BWCC (dated 03-09-93), available on Borland's BBS and also on CompuServe in BCPPWIN Section 2, contains a new BWCC.H header file that includes these additional #defines. This new header file should be copied to the Borland C++ include directory. You should also #include BWCC.H in your resource files that use the Borland Group Box. This new BWCC.H includes additional symbols needed for the Borland Group Box and solves the 'Incomplete expression' problem described above. The following #defines have been added to the newest version of BWCC.H: #define BSS_GROUP 1L // recessed group box #define BSS_HDIP 2L // horizontal border #define BSS_VDIP 3L // vertical border PRODUCT : Borland C++ NUMBER : 1326 VERSION : 3.1 OS : WIN DATE : October 25, 1993 PAGE : 2/2 TITLE : Information for using newer versions of BWCC.DLL. #define BSS_HBUMP 4L // horizontal speed bump #define BSS_VBUMP 5L // vertical speed bump #define BSS_RGROUP 6L // raised group box #define BSS_CAPTION 0x8000L // Set off the caption #define BSS_CTLCOLOR 0x4000L // Send WM_CTLCOLOR messages // to parent of control #define BSS_NOPREFIX 0x2000L // & in caption does not underline // following letter #define BSS_LEFT 0x0000L // Caption is left-justified #define BSS_CENTER 0x0100L // Caption is centered #define BSS_RIGHT 0x0200L // Caption is right-justified #define BSS_ALIGNMASK 0x0300L DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains.