inserting a push button into SDI
I have vc6.0. How can I put a push button into a SDI child window? Instead of putting a push button
into a dialog box, I would like to spruce up my SDI child window with more objects.
Also, what books would have any information on adding push buttons, edit box's, etc to the SDI or
MDI child window?
Re: inserting a push button into SDI
Hi Danielle,
If you wish to add buttons and the like to your view, you may want to consider subclassing your CView off of CFormView. You would create a form dialog resource, and then use the class wizard to do the rest. (I can get more specific if you need more help)
A very good book I have found on Views and other things is the MFC Answer Book, written by Eugene Kain.
Hope this helps...
--Dorothy
Re: inserting a push button into SDI
how can i find the "MFC Answer Book" on Internet?
Re: inserting a push button into SDI
Dorothy,
Can you provide an example or step-by-step instructions on how to insert
a push button into SID? This would really be a huge help to me. Any response
you can give me will be greatly appreciated.
Thank you,
Danielle
where to find MFC Answer Book
It doesn't exist on the Internet as far as I know. It is well worth picking it up on Amazon, though.
http://www.amazon.com/exec/obidos/AS...603759-4078403
Re: inserting a push button into SDI
If you want to use a CFormView the sample ViewProp might be helpful.
It illustrates using several different controls in a CFormView and
changing of their colors.