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

Buncha fixes.

File:
1 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, \
Note: See TracChangeset for help on using the changeset viewer.