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. Size of dialog in resource

Size of dialog in resource

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestionlearning
2 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.
  • J Offline
    J Offline
    JGranborg
    wrote on last edited by
    #1

    I have some views defined in the resource file. I display these in a splitterwnd. I like to know the size of the dialog in the resource file so that I can resize the splitters according to this size. How to? yours sincerly Jørgen Granborg

    G 1 Reply Last reply
    0
    • J JGranborg

      I have some views defined in the resource file. I display these in a splitterwnd. I like to know the size of the dialog in the resource file so that I can resize the splitters according to this size. How to? yours sincerly Jørgen Granborg

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      The simplest way would be to create the dialogs modeless and not visible, and then get the size of their window. You can then destroy them and recreate them within your splitter, knowing the size.


      Software Zen: delete this;

      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