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. Dialogbox

Dialogbox

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • K Offline
    K Offline
    Ken Mazaika
    wrote on last edited by
    #1

    I want to make a dialog popup like a toolbox, but be a resizable dialog with controls i want on it. I've seen it in some other applications and I would like to add it to one of mine. Any links/ideas/suggestions would be appreciated. -Kmaz

    J 1 Reply Last reply
    0
    • K Ken Mazaika

      I want to make a dialog popup like a toolbox, but be a resizable dialog with controls i want on it. I've seen it in some other applications and I would like to add it to one of mine. Any links/ideas/suggestions would be appreciated. -Kmaz

      J Offline
      J Offline
      Johan Rosengren
      wrote on last edited by
      #2

      You want a resizable, modeless dialog. It's not different from a normal dialog, but you select resizable border from the styles in the resource editor, and call Create instead of DoModal. Add a member of the dialog class to the parent class, call Create as soon as possible (after the parent window is created, this depends on the kind of window), and then call ShowWindow to show/hide the toolbox.

      K 1 Reply Last reply
      0
      • J Johan Rosengren

        You want a resizable, modeless dialog. It's not different from a normal dialog, but you select resizable border from the styles in the resource editor, and call Create instead of DoModal. Add a member of the dialog class to the parent class, call Create as soon as possible (after the parent window is created, this depends on the kind of window), and then call ShowWindow to show/hide the toolbox.

        K Offline
        K Offline
        Ken Mazaika
        wrote on last edited by
        #3

        I can't believe i didnt think of that...I'm an idiot :-D

        J 1 Reply Last reply
        0
        • K Ken Mazaika

          I can't believe i didnt think of that...I'm an idiot :-D

          J Offline
          J Offline
          Johan Rosengren
          wrote on last edited by
          #4

          No, you would have been... not an idiot, but slightly silly if you hadn't asked the question :-)

          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