Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
op2_sdk:textdialogbox [2016/10/12 21:32] – external edit 127.0.0.1 | op2_sdk:textdialogbox [2016/12/28 19:01] – [Resource.h] vagabond | ||
---|---|---|---|
Line 50: | Line 50: | ||
To add a resource script file and associated resource header: | To add a resource script file and associated resource header: | ||
- | - Right click on your project in the solution explorer. -> Add -> New Item... -> Visual C++ -> Resource -> Resource File (.rc) -> Add. | + | - Right click on your project in the solution explorer. -> Add -> New Item... -> Visual C++ -> Resource -> Resource File (.rc) -> Add. (Using the default filename is fine.) |
- | Resource Scripts by default | + | By default |
Below is a sample resource script file that provides a dialog box before a scenario is initialized. The dialog box will include the contents of briefing.rtf in a rich text box. | Below is a sample resource script file that provides a dialog box before a scenario is initialized. The dialog box will include the contents of briefing.rtf in a rich text box. | ||
Line 243: | Line 243: | ||
// | // | ||
// Microsoft Visual C++ generated include file. | // Microsoft Visual C++ generated include file. | ||
- | // Used by RisingFromTheAshes.rc | + | // Used by Resource.rc |
// | // | ||
#define IDR_MISSIONTEXT | #define IDR_MISSIONTEXT |