Hello Lu,
There are GLG MFC examples for the SDI MFC architecture, but unfortunately, there are no examples for the Dialog based MFC application. In the existing MFC SDI examples, GLG custom control is added as a child of the CView class.
We can suggest 2 options for using GLG in a Dialog based MFC application:
a) use GLG ActiveX control, as opposed to the GLG MFC custom control;
examples of the GLG ActiveX control usage may be found in the directory examples_csharp.NET;
b) add GLG MFC custom control as a child of the MFC dialog object, using the same technique as demonstrated in the GLG MFC examples, where GLG control is added as a child of the CView class.
Using option a), GLG ActiveX control can be added in the MFC Design mode;
using option b), GLG custom control is added programmatically.
Hope this helps.
Kind regards,
GLG Support Team