Click to See Complete Forum and Search --> : inserting a push button into SDI
Danielle Harvey
April 5th, 1999, 05:54 PM
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?
Dorothy Nelson
April 5th, 1999, 09:16 PM
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
Rain Huang
April 5th, 1999, 09:58 PM
how can i find the "MFC Answer Book" on Internet?
Danielle Harvey
April 6th, 1999, 11:11 AM
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
Dorothy Nelson
April 6th, 1999, 11:22 AM
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/ASIN/0201185377/answers2000limit/002-8603759-4078403
Gomez Addams
April 6th, 1999, 11:48 AM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.