Changeset 136 for trunk/include


Ignore:
Timestamp:
Feb 3, 2002, 11:46:54 AM (24 years ago)
Author:
umoeller
Message:

Buncha fixes.

Location:
trunk/include/helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dialog.h

    r132 r136  
    6262
    6363    #define SZL_AUTOSIZE                (-1)
     64    #define SZL_LARGEST_ROW_WIDTH       (-2)
    6465
    6566    #define CTL_COMMON_FONT             ((PCSZ)-1)
     
    106107                // proposed size; a number of special flags are
    107108                // available (per cx, cy field):
    108                 // -- SZL_AUTOSIZE: determine size automatically.
     109                // -- SZL_AUTOSIZE (-1): determine size automatically.
    109110                //    Works only for statics with SS_TEXT and
    110111                //    SS_BITMAP.
     112                // -- Any other _negative_ value is considered a
     113                //    percentage of the largest row width in the
     114                //    table. For example, -50 would mean 50% of
     115                //    the largest row in the table. This is valid
     116                //    for the CX field only.
    111117                // This field is IGNORED if the CONTROLDEF appears
    112118                // with a START_NEW_TABLE type in _DLGHITEM.
     
    190196    #define COMMON_SPACING          3
    191197
    192     #define CONTROLDEF_GROUP(pcsz, id) { WC_STATIC, pcsz, \
     198    #define CONTROLDEF_GROUP(pcsz, id, cx, cy) { WC_STATIC, pcsz, \
    193199            WS_VISIBLE | SS_GROUPBOX | DT_MNEMONIC, \
    194             id, CTL_COMMON_FONT, 0, { -1, -1 }, 0 }
     200            id, CTL_COMMON_FONT, 0, { cx, cy }, 0 }
    195201
    196202    #define CONTROLDEF_TEXT(pcsz, id, cx, cy) { WC_STATIC, pcsz, \
  • trunk/include/helpers/exeh.h

    r131 r136  
    11651165        // returned by exehOpen):
    11661166        ULONG           ulExeFormat;
     1167#endif
    11671168                    #define EXEFORMAT_OLDDOS        1
    11681169                    #define EXEFORMAT_NE            2
     
    11731174                    #define EXEFORMAT_COM           7       // added V0.9.16 (2002-01-04) [umoeller]
    11741175
     1176#ifndef __STRIP_DOWN_EXECUTABLE__
    11751177        BOOL            fLibrary,           // TRUE if this is a DLL
    11761178                                            // (works for NE, LX, PE)
     
    11791181
    11801182        ULONG           ulOS;
     1183#endif
    11811184                // target operating system as flagged in one of
    11821185                // the EXE headers; one of:
     
    11981201                                // if PE optional header was successfully read
    11991202
     1203#ifndef __STRIP_DOWN_EXECUTABLE__
    12001204        // The following fields are only set after
    12011205        // an extra call to exehQueryBldLevel (NE and LX only):
Note: See TracChangeset for help on using the changeset viewer.