CButton & CView
I created a project using the MFC wizard and I want to place a CButton right on the CView itself. I'm guessing it's possible, but when I put the following code in the PreCreateWindow function (or the OnCreate), it doesn't work:
(in the Class defn):
CButton* button;
(in the Ctor)
button = new CButton();
(in PreCreateWindow)
button->Create(_T("button"),...the different window styles...,
CRect(0,0,30,30),this,1)
Nothing comes up. What am I doing wrong?
[534 byte] By [
paulj1999] at [2007-11-17 22:39:10]
