forked from 0ad/0ad
janwas
5299dcad86
- debug: add provision for naming threads. allows adding current thread name to log messages and displays their names in the debugger. - replaced various if(err < 0) complain() sequences with new variants of CHECK_ERR (see lib.h) - fixes to mmgr/VC debug alloc enable code - improved h_mgr error reporting (now complains when h_free fails) - US -> UK english (partial) - fix tex_load double-free bug - move win32 mouse cursor code into sysdep - error dialog is now topmost to make sure it's visible (was a problem) - handle WM_QUIT before displaying error dialog (makes sure it's shown) also as in previous 3 revisions. This was SVN commit r2588.
79 lines
1.8 KiB
Plaintext
Executable File
79 lines
1.8 KiB
Plaintext
Executable File
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "error_dialog.h"
|
|
#include <windows.h>
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"error_dialog.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOG1 DIALOGEX 0, 0, 328, 260
|
|
STYLE DS_SETFONT | DS_SETFOREGROUND | DS_FIXEDSYS | WS_MINIMIZEBOX |
|
|
WS_MAXIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
|
EXSTYLE WS_EX_TOPMOST | WS_EX_APPWINDOW
|
|
CAPTION "Program Error"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "&Continue",IDC_CONTINUE,7,239,50,14
|
|
EDITTEXT IDC_EDIT1,7,7,314,204,ES_MULTILINE | ES_READONLY |
|
|
ES_WANTRETURN | WS_VSCROLL
|
|
PUSHBUTTON "Copy",IDC_COPY,271,212,50,14
|
|
PUSHBUTTON "&Suppress",IDC_SUPPRESS,59,239,50,14
|
|
PUSHBUTTON "&Break",IDC_BREAK,111,239,50,14
|
|
PUSHBUTTON "E&xit",IDC_EXIT,163,239,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_DIALOG1, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 321
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 253
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|