Creating edit box not using MFC in the main window
Posted on 2000-04-06
I was wondering if you could send me sample source on creating a static text control in my window (view), not dialogue box. Basically I am creating tools to help me generate class objects in my game and I need several text fields that I will input data into and the program will take this and make source code which creates objects with the respective data passed on to the construct. I need to do this without using MFC so any help would be appreciated. Basically I have gotten to the point where I am creating a global CRect object and then inside of my WinMain creating a CEdit object which I call the CEdit::Create function with my only problem is I want to give the handle to the parent as being the main window when it is asking for type CWnd * which I suppose is the format for a pointer to a dialogue box.