Objective Grid : PART I User’s Guide : Chapter 9 DlgGrid Tutorial : Modify the DlgGrid Application Implementation File
Modify the DlgGrid Application Implementation File
GXInit() initializes resources and variables used by Objective Grid. It should be called from your application's InitInstance() to be sure Objective Grid is initialized before calling any Objective Grid functions. For more information about GXInit(), please refer to the Objective Grid Class Reference.
1. Open DlgGrid.cpp and search for InitInstance().
2. Add the following two lines to the beginning of InitInstance():
// This call will initialize the grid library
GXInit();
3. Save and close DlgGrid.cpp.