Changeset 136 for trunk/include/helpers/dialog.h
- Timestamp:
- Feb 3, 2002, 11:46:54 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dialog.h
r132 r136 62 62 63 63 #define SZL_AUTOSIZE (-1) 64 #define SZL_LARGEST_ROW_WIDTH (-2) 64 65 65 66 #define CTL_COMMON_FONT ((PCSZ)-1) … … 106 107 // proposed size; a number of special flags are 107 108 // available (per cx, cy field): 108 // -- SZL_AUTOSIZE : determine size automatically.109 // -- SZL_AUTOSIZE (-1): determine size automatically. 109 110 // Works only for statics with SS_TEXT and 110 111 // 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. 111 117 // This field is IGNORED if the CONTROLDEF appears 112 118 // with a START_NEW_TABLE type in _DLGHITEM. … … 190 196 #define COMMON_SPACING 3 191 197 192 #define CONTROLDEF_GROUP(pcsz, id ) { WC_STATIC, pcsz, \198 #define CONTROLDEF_GROUP(pcsz, id, cx, cy) { WC_STATIC, pcsz, \ 193 199 WS_VISIBLE | SS_GROUPBOX | DT_MNEMONIC, \ 194 id, CTL_COMMON_FONT, 0, { -1, -1}, 0 }200 id, CTL_COMMON_FONT, 0, { cx, cy }, 0 } 195 201 196 202 #define CONTROLDEF_TEXT(pcsz, id, cx, cy) { WC_STATIC, pcsz, \
Note:
See TracChangeset
for help on using the changeset viewer.