how can i put with Create function a working button on a Child Window of my mdi app derived from CFormView ? << Thank you people >>
AlinRO
Posts
-
dynamic button on CFormView Child ?? -
dynamic button on CFormView ???how can i put with Create function a working button on a Child Window of my mdi app derived from CFormView ? << Thank you people >>
-
shortsighted design - so can I do this now??????? << excuse my english please, i'm romanian >>
-
dynamic button ...Helllllo people .. i'm new in vc++ but i want to learn ... now i have a mfc mdi wizard with base class CFormView and i want to put on a new document something but in dynamic mode with Create function ... something like a button or a static text ... the problem is that i don't know where and how to do this .. i have tryed and the best result is that the button was there for a moment just and then gone .. i don't know where ... my last tryings are CMDIChildWnd * bb=((CMDIFrameWnd*)AfxGetMainWnd())->MDIGetActive(); CButton info1; CRect rct(50,50,200,200); info1.Create("Info1",WS_CHILD,rct,bb,130); info1.SetWindowText("Pleease !!!"); please help me ... and forgive my english :)
-
new class ...Hi .. i have a problem with vc++ ... i have made a mfc wizard mdi aplication and i've added a new class Info .. now i want to delcare a global instance of this class but i don't know were to put it exactly ... i put it in the app but error ... i have made a bew file adn included it in the project but error of memory or something like that .. please help me ... and excuse my bad english :)