Changeset 132 for trunk/include/helpers/dialog.h
- Timestamp:
- Jan 19, 2002, 11:50:39 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dialog.h
r117 r132 63 63 #define SZL_AUTOSIZE (-1) 64 64 65 #define CTL_COMMON_FONT (( const char *)-1)65 #define CTL_COMMON_FONT ((PCSZ)-1) 66 66 67 67 #define ROW_VALIGN_MASK 0x0003 … … 117 117 118 118 } CONTROLDEF, *PCONTROLDEF; 119 120 typedef const struct _CONTROLDEF *PCCONTROLDEF; 119 121 120 122 /* … … 178 180 } DLGHITEM, *PDLGHITEM; 179 181 182 typedef const struct _DLGHITEM *PCDLGHITEM; 183 180 184 /* ****************************************************************** 181 185 * … … 256 260 ULONG flCreateFlags, 257 261 PFNWP pfnwpDialogProc, 258 const char *pcszDlgTitle,259 P DLGHITEM paDlgItems,262 PCSZ pcszDlgTitle, 263 PCDLGHITEM paDlgItems, 260 264 ULONG cDlgItems, 261 265 PVOID pCreateParams, 262 const char *pcszControlsFont);266 PCSZ pcszControlsFont); 263 267 typedef APIRET XWPENTRY DLGHCREATEDLG(HWND *phwndDlg, 264 268 HWND hwndOwner, 265 269 ULONG flCreateFlags, 266 270 PFNWP pfnwpDialogProc, 267 const char *pcszDlgTitle,268 P DLGHITEM paDlgItems,271 PCSZ pcszDlgTitle, 272 PCDLGHITEM paDlgItems, 269 273 ULONG cDlgItems, 270 274 PVOID pCreateParams, 271 const char *pcszControlsFont);275 PCSZ pcszControlsFont); 272 276 typedef DLGHCREATEDLG *PDLGHCREATEDLG; 273 277 274 278 APIRET dlghFormatDlg(HWND hwndDlg, 275 P DLGHITEM paDlgItems,279 PCDLGHITEM paDlgItems, 276 280 ULONG cDlgItems, 277 const char *pcszControlsFont,281 PCSZ pcszControlsFont, 278 282 ULONG flFlags); 279 283 … … 311 315 312 316 APIRET dlghAppendToArray(PDLGARRAY pArray, 313 DLGHITEM *paItems,317 PCDLGHITEM paItems, 314 318 ULONG cItems); 315 319 … … 368 372 HWND hwndOwner, 369 373 HPOINTER hptrIcon, 370 const char *pcszTitle,371 const char *pcszMessage,374 PCSZ pcszTitle, 375 PCSZ pcszMessage, 372 376 ULONG flFlags, 373 const char *pcszFont,377 PCSZ pcszFont, 374 378 const MSGBOXSTRINGS *pStrings, 375 379 PULONG pulAlarmFlag); … … 377 381 ULONG dlghMessageBox(HWND hwndOwner, 378 382 HPOINTER hptrIcon, 379 const char *pcszTitle,380 const char *pcszMessage,383 PCSZ pcszTitle, 384 PCSZ pcszMessage, 381 385 ULONG flFlags, 382 const char *pcszFont,386 PCSZ pcszFont, 383 387 const MSGBOXSTRINGS *pStrings); 384 388 … … 388 392 389 393 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, 395 399 ULONG ulMaxLen, 396 400 ULONG fl, 397 const char *pcszFont);401 PCSZ pcszFont); 398 402 399 403 /* ******************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.