Including the Objective Grid resource header file in your application's resource script gives your application access to the Objective Grid Resources. When linking statically to the Objective Grid libraries, it is also necessary to include the Objective Grid resource script. The following steps demonstrate how to add the Objective Grid resource files to your project.
Open the Resource View in Microsoft Visual Studio (View|Resource View).
Select the root of the Resource View tree (DlgGrid.rc) and click with the right button on your mouse.
A context menu pops up.
Choose Resource Includes.
The Resource Includes dialog box appears.
Add the following line to the Read-only symbol directives box.
#include "grid\gxresrc.h" |
Add the following line to the end of the Compile-time directives box.
#include "grid\gxres.rc" |
Click OK.
A message box pops up warning you that the "Directive text will be written into your resource script and may render it uncompilable." This is fine. You can safely choose OK.
Save DlgGrid.rc (press Ctrl-S).
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.