Mercurial > dwindows
comparison os2/dw.c @ 458:768f3546c4b5
Don't make message boxes system modal on OS/2, it is very annoying.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 02 Jul 2003 08:18:38 +0000 |
parents | e6b00c3e5086 |
children | 9d874ce0124a |
comparison
equal
deleted
inserted
replaced
457:e6b00c3e5086 | 458:768f3546c4b5 |
---|---|
3357 | 3357 |
3358 va_start(args, format); | 3358 va_start(args, format); |
3359 vsprintf(outbuf, format, args); | 3359 vsprintf(outbuf, format, args); |
3360 va_end(args); | 3360 va_end(args); |
3361 | 3361 |
3362 rc = WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, outbuf, title, 0, flags | MB_MOVEABLE | MB_SYSTEMMODAL); | 3362 rc = WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, outbuf, title, 0, flags | MB_MOVEABLE); |
3363 if(rc == MBID_OK) | 3363 if(rc == MBID_OK) |
3364 return DW_MB_RETURN_OK; | 3364 return DW_MB_RETURN_OK; |
3365 else if(rc == MBID_YES) | 3365 else if(rc == MBID_YES) |
3366 return DW_MB_RETURN_YES; | 3366 return DW_MB_RETURN_YES; |
3367 else if(rc == MBID_NO) | 3367 else if(rc == MBID_NO) |