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. Instead a dialog I want to appear 3 buttons

Instead a dialog I want to appear 3 buttons

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 2 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.
  • F Offline
    F Offline
    Filomela
    wrote on last edited by
    #1

    When I click on a button I want to appear 3 buttons instead a dialog.How can I do this?Thanks.

    N 1 Reply Last reply
    0
    • F Filomela

      When I click on a button I want to appear 3 buttons instead a dialog.How can I do this?Thanks.

      N Offline
      N Offline
      nguyenvhn
      wrote on last edited by
      #2

      One way is you create 3 that buttons in resource editor. In OnInitDialog, you set three button to be invisible. When click on a button, you set 3 button to visible mode. Just call: ShowWindow Another way is to create buttons when click by CWnd::Create function

      F 1 Reply Last reply
      0
      • N nguyenvhn

        One way is you create 3 that buttons in resource editor. In OnInitDialog, you set three button to be invisible. When click on a button, you set 3 button to visible mode. Just call: ShowWindow Another way is to create buttons when click by CWnd::Create function

        F Offline
        F Offline
        Filomela
        wrote on last edited by
        #3

        Idon't want a dialog, only 3 buutons.No dialog.

        N 1 Reply Last reply
        0
        • F Filomela

          Idon't want a dialog, only 3 buutons.No dialog.

          N Offline
          N Offline
          nguyenvhn
          wrote on last edited by
          #4

          I don't understand your question. Where three buttons is? Where is the button that you clicked on? Could you give more detaily the problem?

          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