Ignore:
Timestamp:
Jan 19, 2002, 11:50:39 AM (24 years ago)
Author:
umoeller
Message:

Misc changes.

File:
1 edited

Legend:

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

    r117 r132  
    6363    #define SZL_AUTOSIZE                (-1)
    6464
    65     #define CTL_COMMON_FONT             ((const char *)-1)
     65    #define CTL_COMMON_FONT             ((PCSZ)-1)
    6666
    6767    #define ROW_VALIGN_MASK             0x0003
     
    117117
    118118    } CONTROLDEF, *PCONTROLDEF;
     119
     120    typedef const struct _CONTROLDEF *PCCONTROLDEF;
    119121
    120122    /*
     
    178180    } DLGHITEM, *PDLGHITEM;
    179181
     182    typedef const struct _DLGHITEM *PCDLGHITEM;
     183
    180184    /* ******************************************************************
    181185     *
     
    256260                                  ULONG flCreateFlags,
    257261                                  PFNWP pfnwpDialogProc,
    258                                   const char *pcszDlgTitle,
    259                                   PDLGHITEM paDlgItems,
     262                                  PCSZ pcszDlgTitle,
     263                                  PCDLGHITEM paDlgItems,
    260264                                  ULONG cDlgItems,
    261265                                  PVOID pCreateParams,
    262                                   const char *pcszControlsFont);
     266                                  PCSZ pcszControlsFont);
    263267    typedef APIRET XWPENTRY DLGHCREATEDLG(HWND *phwndDlg,
    264268                                          HWND hwndOwner,
    265269                                          ULONG flCreateFlags,
    266270                                          PFNWP pfnwpDialogProc,
    267                                           const char *pcszDlgTitle,
    268                                           PDLGHITEM paDlgItems,
     271                                          PCSZ pcszDlgTitle,
     272                                          PCDLGHITEM paDlgItems,
    269273                                          ULONG cDlgItems,
    270274                                          PVOID pCreateParams,
    271                                           const char *pcszControlsFont);
     275                                          PCSZ pcszControlsFont);
    272276    typedef DLGHCREATEDLG *PDLGHCREATEDLG;
    273277
    274278    APIRET dlghFormatDlg(HWND hwndDlg,
    275                          PDLGHITEM paDlgItems,
     279                         PCDLGHITEM paDlgItems,
    276280                         ULONG cDlgItems,
    277                          const char *pcszControlsFont,
     281                         PCSZ pcszControlsFont,
    278282                         ULONG flFlags);
    279283
     
    311315
    312316    APIRET dlghAppendToArray(PDLGARRAY pArray,
    313                              DLGHITEM *paItems,
     317                             PCDLGHITEM paItems,
    314318                             ULONG cItems);
    315319
     
    368372                                HWND hwndOwner,
    369373                                HPOINTER hptrIcon,
    370                                 const char *pcszTitle,
    371                                 const char *pcszMessage,
     374                                PCSZ pcszTitle,
     375                                PCSZ pcszMessage,
    372376                                ULONG flFlags,
    373                                 const char *pcszFont,
     377                                PCSZ pcszFont,
    374378                                const MSGBOXSTRINGS *pStrings,
    375379                                PULONG pulAlarmFlag);
     
    377381    ULONG dlghMessageBox(HWND hwndOwner,
    378382                         HPOINTER hptrIcon,
    379                          const char *pcszTitle,
    380                          const char *pcszMessage,
     383                         PCSZ pcszTitle,
     384                         PCSZ pcszMessage,
    381385                         ULONG flFlags,
    382                          const char *pcszFont,
     386                         PCSZ pcszFont,
    383387                         const MSGBOXSTRINGS *pStrings);
    384388
     
    388392
    389393    PSZ dlghTextEntryBox(HWND hwndOwner,
    390                          const char *pcszTitle,
    391                          const char *pcszDescription,
    392                          const char *pcszDefault,
    393                          const char *pcszOK,
    394                          const char *pcszCancel,
     394                         PCSZ pcszTitle,
     395                         PCSZ pcszDescription,
     396                         PCSZ pcszDefault,
     397                         PCSZ pcszOK,
     398                         PCSZ pcszCancel,
    395399                         ULONG ulMaxLen,
    396400                         ULONG fl,
    397                          const char *pcszFont);
     401                         PCSZ pcszFont);
    398402
    399403    /* ******************************************************************
Note: See TracChangeset for help on using the changeset viewer.