I'm following an MFC tutorial that covers the implementation of a custom CListCtrl style control, that is actually a custom Wnd derived class.
I've bound a Custom dialog item to the class in this manner:
void CLustreView::DoDataExchange(CDataExchange* pDX)
DDX_Control(pDX, IDC_CUSTOM1, grid); // grid is an object I instantiated from the class
According to the tutorial, you create the object thusly:
grid.Create(rect, pParentWnd, nID);
I suspect that I should call this Create function, having obtained a rect area through the GetClientRect() function, and having obtained the parent through the GetParent() function, while just passing IDC_CUSTOM1 as the third argument. I'm unsure of exactly how to do so. Please advise,