Ignore:
Timestamp:
Apr 14, 2002, 1:42:05 AM (23 years ago)
Author:
umoeller
Message:

Lots of changes from the last three weeks.

File:
1 edited

Legend:

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

    r145 r153  
    4242     ********************************************************************/
    4343
    44     #define DLGERR_FIRST                        10000
    45     #define DLGERR_ROW_BEFORE_TABLE             (DLGERR_FIRST)
    46     #define DLGERR_CONTROL_BEFORE_ROW           (DLGERR_FIRST + 1)
    47     #define DLGERR_NULL_CTL_DEF                 (DLGERR_FIRST + 2)
    48     #define DLGERR_CANNOT_CREATE_FRAME          (DLGERR_FIRST + 3)
    49     #define DLGERR_INVALID_CODE                 (DLGERR_FIRST + 4)
    50     #define DLGERR_TABLE_NOT_CLOSED             (DLGERR_FIRST + 5)
    51     #define DLGERR_TOO_MANY_TABLES_CLOSED       (DLGERR_FIRST + 6)
    52     #define DLGERR_CANNOT_CREATE_CONTROL        (DLGERR_FIRST + 7)
    53     #define DLGERR_ARRAY_TOO_SMALL              (DLGERR_FIRST + 8)
    54     #define DLGERR_INVALID_CONTROL_TITLE        (DLGERR_FIRST + 9)
    55     #define DLGERR_INVALID_STATIC_BITMAP        (DLGERR_FIRST + 10)
     44    #define ERROR_DLG_FIRST                     43000
     45
     46    #define DLGERR_ROW_BEFORE_TABLE             (ERROR_DLG_FIRST)
     47    #define DLGERR_CONTROL_BEFORE_ROW           (ERROR_DLG_FIRST + 1)
     48    #define DLGERR_NULL_CTL_DEF                 (ERROR_DLG_FIRST + 2)
     49    #define DLGERR_CANNOT_CREATE_FRAME          (ERROR_DLG_FIRST + 3)
     50    #define DLGERR_INVALID_CODE                 (ERROR_DLG_FIRST + 4)
     51    #define DLGERR_TABLE_NOT_CLOSED             (ERROR_DLG_FIRST + 5)
     52    #define DLGERR_TOO_MANY_TABLES_CLOSED       (ERROR_DLG_FIRST + 6)
     53    #define DLGERR_CANNOT_CREATE_CONTROL        (ERROR_DLG_FIRST + 7)
     54    #define DLGERR_ARRAY_TOO_SMALL              (ERROR_DLG_FIRST + 8)
     55    #define DLGERR_INVALID_CONTROL_TITLE        (ERROR_DLG_FIRST + 9)
     56    #define DLGERR_INVALID_STATIC_BITMAP        (ERROR_DLG_FIRST + 10)
     57
     58    #define ERROR_DLG_LAST                      (ERROR_DLG_FIRST + 10)
    5659
    5760    /* ******************************************************************
     
    117120                // type in _DLGHITEM (to specify a group table)
    118121                // and they are not SZL_AUTOSIZE, they specify the
    119                 // table size (to override the automatic formatting).
     122                // size of the inner table of the group (to override
     123                // the automatic formatting). Note that the dialog
     124                // formatter adds COMMON_SPACING to both the left and
     125                // the right of the table to center the table in the
     126                // PM group control, so the actual group size will
     127                // be the specified size + (2 * COMMON_SPACING).
    120128
    121129        ULONG       ulSpacing;          // spacing around control
     
    195203     ********************************************************************/
    196204
    197     #define COMMON_SPACING          3
     205    #define COMMON_SPACING              3
     206
     207    #define PM_GROUP_SPACING_X          16
     208    #define PM_GROUP_SPACING_TOP        16
    198209
    199210    #define CONTROLDEF_GROUP(pcsz, id, cx, cy) { WC_STATIC, pcsz, \
Note: See TracChangeset for help on using the changeset viewer.