CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Posts
    327

    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?





  2. #2
    Join Date
    Apr 1999
    Posts
    10

    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


  3. #3
    Join Date
    May 1999
    Posts
    18

    Re: inserting a push button into SDI

    how can i find the "MFC Answer Book" on Internet?



  4. #4
    Join Date
    May 1999
    Posts
    327

    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


  5. #5
    Join Date
    Apr 1999
    Posts
    10

    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


  6. #6
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    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.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured