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. Docking Resizable Dialog box

Docking Resizable Dialog box

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

    Hi everybody, I need your help. I have a resizable dialog box with some controls (button, edit box, list box, etc). I have a Class that derive from « Paolo Messina CResizable » class. Every things works well. Now I want to dock that dialog box (docking the dialog to the main frame). I try to do it, but it doesn’t work. So, any ideas are welcome even if I would restart from scratch. Thanks.

    S 1 Reply Last reply
    0
    • M mlsa

      Hi everybody, I need your help. I have a resizable dialog box with some controls (button, edit box, list box, etc). I have a Class that derive from « Paolo Messina CResizable » class. Every things works well. Now I want to dock that dialog box (docking the dialog to the main frame). I try to do it, but it doesn’t work. So, any ideas are welcome even if I would restart from scratch. Thanks.

      S Offline
      S Offline
      Stlan
      wrote on last edited by
      #2

      Perhaps you can use the excellent resizable control bar[^] from Cristi Posea.

      M 1 Reply Last reply
      0
      • S Stlan

        Perhaps you can use the excellent resizable control bar[^] from Cristi Posea.

        M Offline
        M Offline
        mlsa
        wrote on last edited by
        #3

        Thanks, But it cann't help me because i want my controls inside a dockable dialog to be resizable like in CResizableLib of Paolo Messina.

        S 1 Reply Last reply
        0
        • M mlsa

          Thanks, But it cann't help me because i want my controls inside a dockable dialog to be resizable like in CResizableLib of Paolo Messina.

          S Offline
          S Offline
          Stlan
          wrote on last edited by
          #4

          But you can derive Cristi's CSizingControlBar and put anything you want inside. I made it several months ago with a resizable child dialog containing listview, static and button controls. You only need to reposition the child dialog when the control bar is resized, then to override the OnSize handler in the child dialog to reposition correctly its controls.

          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