|
| 1 | +// TextInclude1Test2_res.rc |
| 2 | +// Test case for TEXTINCLUDE 1 support (Issue #301) |
| 3 | +// This file uses a custom header file name in TEXTINCLUDE 1. |
| 4 | +// † <-- This dagger helps UTF-8 detection. |
| 5 | + |
| 6 | +#include "include\\custom_resource.h" |
| 7 | + |
| 8 | +#define APSTUDIO_HIDDEN_SYMBOLS |
| 9 | +#include <windows.h> |
| 10 | +#include <commctrl.h> |
| 11 | +#undef APSTUDIO_HIDDEN_SYMBOLS |
| 12 | +#pragma code_page(65001) // UTF-8 |
| 13 | + |
| 14 | +////////////////////////////////////////////////////////////////////////////// |
| 15 | + |
| 16 | +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT |
| 17 | + |
| 18 | +////////////////////////////////////////////////////////////////////////////// |
| 19 | +// RT_DIALOG |
| 20 | + |
| 21 | +IDD_MAIN DIALOG 0, 0, 215, 100 |
| 22 | +CAPTION "TextInclude1Test2" |
| 23 | +STYLE DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION |
| 24 | +FONT 9, "Arial" |
| 25 | +{ |
| 26 | + DEFPUSHBUTTON "OK", IDC_BTN_OK, 35, 80, 60, 14 |
| 27 | + PUSHBUTTON "Cancel", IDC_BTN_CANCEL, 115, 80, 60, 14 |
| 28 | +} |
| 29 | + |
| 30 | +////////////////////////////////////////////////////////////////////////////// |
| 31 | +// TEXTINCLUDE |
| 32 | + |
| 33 | +#ifdef APSTUDIO_INVOKED |
| 34 | + |
| 35 | +1 TEXTINCLUDE |
| 36 | +BEGIN |
| 37 | + "include\\custom_resource.h\0" |
| 38 | +END |
| 39 | + |
| 40 | +2 TEXTINCLUDE |
| 41 | +BEGIN |
| 42 | + "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" |
| 43 | + "#include <windows.h>\r\n" |
| 44 | + "#include <commctrl.h>\r\n" |
| 45 | + "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" |
| 46 | + "\0" |
| 47 | +END |
| 48 | + |
| 49 | +3 TEXTINCLUDE |
| 50 | +BEGIN |
| 51 | + "\r\n" |
| 52 | + "\0" |
| 53 | +END |
| 54 | + |
| 55 | +#endif // APSTUDIO_INVOKED |
| 56 | + |
| 57 | +////////////////////////////////////////////////////////////////////////////// |
0 commit comments