Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Putting Buttons in the view?

Putting Buttons in the view?

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cambalindo
    wrote on last edited by
    #1

    Is it posible to put buttons or other controls in the view in a View-Document app? and how can I do it? tks in advance.. Daniel Cespedes Daza "Santa Cruz de la Sierra Paraiso Terrenal!" daniel.cespedes@ieee.org

    V M 2 Replies Last reply
    0
    • C Cambalindo

      Is it posible to put buttons or other controls in the view in a View-Document app? and how can I do it? tks in advance.. Daniel Cespedes Daza "Santa Cruz de la Sierra Paraiso Terrenal!" daniel.cespedes@ieee.org

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      Definitely. One solution is to add the button as a member variable and call Create(). Kuphryn

      1 Reply Last reply
      0
      • C Cambalindo

        Is it posible to put buttons or other controls in the view in a View-Document app? and how can I do it? tks in advance.. Daniel Cespedes Daza "Santa Cruz de la Sierra Paraiso Terrenal!" daniel.cespedes@ieee.org

        M Offline
        M Offline
        Martyn Pearson
        wrote on last edited by
        #3

        When you use AppWizard to create your application, you could try setting the view base class to CFormView (on the last but one page of the wizard IIRC). This allows you to define your view using a dialog template. If you have a CView derived view, then you'll have to create them dynamically.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups