If you used CGridcontrol for dialog based application in mfc then you should add all grid files in currrent project folder.
and #include "GridCtrl.h"
will give the reference to CGridCtrl object.
for more information please see
Grid control example
:rolleyes: :rolleyes: