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. Sizing CSplitterWnd columns

Sizing CSplitterWnd columns

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

    Good morning everyone. Here's today question. I have an SDI with the view spilt into 3 columns using CSplitterWnd. I'm trying to set the width of the 1st and 3rd columns to specific widths. Is there a way to explicitly set the width of the 3rd column to a fixed width? I've tried to set width of the 3rd column using m_wndSplit.SetColumnInfo(2, 3RD_COL_WIDTH, 3RD_COL_WIDTH) but it just sets the width to whatever is leftover from columns 1 and 2. Do I have to just get the desired widths of 1 and 3 and set 2 to the remainding width? If so, could someone send me a snippit on the best way to do this. I'm still getting used to proper windows size management. Thanks in advance. Marcus Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope -- Daniel Burnham

    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