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. Strange splitter behaviour

Strange splitter behaviour

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestionlearning
3 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.
  • T Offline
    T Offline
    Tommy H D Svensson
    wrote on last edited by
    #1

    Hi all MFC pro's, Have you ever nested a splitter inside another static splitter? Of course you have. I've noticed a bug in CSplitterWnd here. Say we have a 2 column splitter where the left column encapsulates a 2 row splitter. Got it? Ok, so whenever I click the vertical splitter bar without actually moving it, the bar moves approx. 2 pixels to the right...!??!!?!?!? Anyone knows how to get rid of this pretty annoying behaviour? It would mean a great lot to me! Thx, /Tommy

    L 1 Reply Last reply
    0
    • T Tommy H D Svensson

      Hi all MFC pro's, Have you ever nested a splitter inside another static splitter? Of course you have. I've noticed a bug in CSplitterWnd here. Say we have a 2 column splitter where the left column encapsulates a 2 row splitter. Got it? Ok, so whenever I click the vertical splitter bar without actually moving it, the bar moves approx. 2 pixels to the right...!??!!?!?!? Anyone knows how to get rid of this pretty annoying behaviour? It would mean a great lot to me! Thx, /Tommy

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Just move the damn thing using SetColumnInfo..

      T 1 Reply Last reply
      0
      • L Lost User

        Just move the damn thing using SetColumnInfo..

        T Offline
        T Offline
        Tommy H D Svensson
        wrote on last edited by
        #3

        How do you mean...? After I release the mouse button, call setcolumninfo with 2 pixels in the opposite direction... that's ugly!

        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