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. Minimum pane size in a CSplitterWnd

Minimum pane size in a CSplitterWnd

Scheduled Pinned Locked Moved C / C++ / MFC
question
1 Posts 1 Posters 1 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
    Jitendra gangwar
    wrote on last edited by
    #1

    Hello all, I am using a CSplitterWnd. I would like to prevent the user from dragging the splitter any closer than a certain distance from the edge of the window. I found that CSplitterWnd::SetRowInfo() and CSplitterWnd::SetColInfo() allow you to set a "minimum" size. However, it's not the case that the user can't drag the splitter past this minimum. It's just that if he does so drag the splitter, the window size will become 0. Is there a way to do what I wish and pysically disallow the splitter to move past a certain point? Thanks, Jitendra

    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