This fix is if you try to put the grid control in a CScrollView instead of CView. (I now realize that there is no need to do this because the grid control has it's own scrolling built in.) Anyway, if you insist on putting the control code into a CScrollView, do the following and it should work: (It simply uncovers some bad coding.) Rewrite the following:
BOOL CTitleTip::PreTanslateMessage(MSG* pMsg)
pts = MAKEPOINTS( pMsg->lParam );
Then it compiles just fine.
I use your GridCtrl in my splite view, when I edit a grid cell, then click the grid cell, it was pop-up a window told me to abort, retry or ignore, how to resolve the problem.
Thanks a lot!
Here are some code in my program.
//m_wndSplitter is derive from CView
//CRightTopView is derive from CView, too
//class CRightTopView is same as the class CGridViewDemo in your sample(gridctrl in view)