Changeset 82 for trunk/include/helpers/dialog.h
- Timestamp:
- Jun 25, 2001, 9:06:00 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dialog.h
r79 r82 189 189 const char *pcszControlsFont); 190 190 191 /* 192 *@@ MSGBOXSTRINGS: 193 * 194 *@@added V0.9.13 (2001-06-21) [umoeller] 195 */ 196 197 typedef struct _MSGBOXSTRINGS 198 { 199 const char *pcszYes, // "~Yes" 200 *pcszNo, // "~No" 201 *pcszOK, // "~OK" 202 *pcszCancel, // "~Cancel" 203 *pcszAbort, // "~Abort" 204 *pcszRetry, // "~Retry" 205 *pcszIgnore, // "~Ignore" 206 *pcszEnter, 207 *pcszYesToAll; // "Yes to ~all" 208 } MSGBOXSTRINGS, *PMSGBOXSTRINGS; 209 210 /* the following are in os2.h somewhere: 211 #define MB_OK 0x0000 212 #define MB_OKCANCEL 0x0001 213 #define MB_RETRYCANCEL 0x0002 214 #define MB_ABORTRETRYIGNORE 0x0003 215 #define MB_YESNO 0x0004 216 #define MB_YESNOCANCEL 0x0005 217 #define MB_CANCEL 0x0006 218 #define MB_ENTER 0x0007 219 #define MB_ENTERCANCEL 0x0008 */ 220 // we add: 221 #define MB_YES_YES2ALL_NO 0x0009 222 223 /* the following are in os2.h somewhere: 224 #define MBID_OK 1 225 #define MBID_CANCEL 2 226 #define MBID_ABORT 3 227 #define MBID_RETRY 4 228 #define MBID_IGNORE 5 229 #define MBID_YES 6 230 #define MBID_NO 7 231 #define MBID_HELP 8 232 #define MBID_ENTER 9 */ 233 // we add: 234 #define MBID_YES2ALL 10 235 236 APIRET dlghCreateMessageBox(HWND *phwndDlg, 237 HWND hwndOwner, 238 HPOINTER hptrIcon, 239 const char *pcszTitle, 240 const char *pcszMessage, 241 ULONG flFlags, 242 const char *pcszFont, 243 const MSGBOXSTRINGS *pStrings, 244 PULONG pulAlarmFlag); 245 246 ULONG dlghMessageBox(HWND hwndOwner, 247 HPOINTER hptrIcon, 248 const char *pcszTitle, 249 const char *pcszMessage, 250 ULONG flFlags, 251 const char *pcszFont, 252 const MSGBOXSTRINGS *pStrings); 253 191 254 VOID dlghSetPrevFocus(PVOID pvllWindows); 192 255
Note:
See TracChangeset
for help on using the changeset viewer.