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. Does not ANYONE know how to kill this bug?!?!!?!?!

Does not ANYONE know how to kill this bug?!?!!?!?!

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
8 Posts 3 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 again, Somebody has to know how to fix this... cause I can't! :( If you use nested splitters and click on a splitter bar WITHOUT moving the bar, the bar automatically moves 2 pixels to the right (or down). Why is that? It's a CSplitterWnd bug but I can't seem to get around it... NEW: I can mail you a sample project for anyone interested in removing this bug! Just mail me! All help is greatly appreciated, /Tommy

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

      Hi again, Somebody has to know how to fix this... cause I can't! :( If you use nested splitters and click on a splitter bar WITHOUT moving the bar, the bar automatically moves 2 pixels to the right (or down). Why is that? It's a CSplitterWnd bug but I can't seem to get around it... NEW: I can mail you a sample project for anyone interested in removing this bug! Just mail me! All help is greatly appreciated, /Tommy

      T Offline
      T Offline
      The_Server
      wrote on last edited by
      #2

      maybe it's because you move the mouse without noticing. :confused: BTW: for some of you that wished for CodeProject irc server I create a channle on DalNet called "#CodeProject"

      T 1 Reply Last reply
      0
      • T The_Server

        maybe it's because you move the mouse without noticing. :confused: BTW: for some of you that wished for CodeProject irc server I create a channle on DalNet called "#CodeProject"

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

        No, I'm not accidentally moving the mouse... :) Somebody please solve this!!! /Tommy

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

          No, I'm not accidentally moving the mouse... :) Somebody please solve this!!! /Tommy

          O Offline
          O Offline
          ORi x
          wrote on last edited by
          #4

          I'm using a lot of nested splitter windows in my current application and it doesn't happen to me.

          T 1 Reply Last reply
          0
          • O ORi x

            I'm using a lot of nested splitter windows in my current application and it doesn't happen to me.

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

            Ok... If you divide the first splitter in two columns LEFT and RIGHT and then split the LEFT in two rows UP and DOWN you WILL get this problem. When clicking, and not moving the mouse, the big splitter bar you'll notice that it jumps away. Would you like me to send you a sample of this kind of bug? /T

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

              Ok... If you divide the first splitter in two columns LEFT and RIGHT and then split the LEFT in two rows UP and DOWN you WILL get this problem. When clicking, and not moving the mouse, the big splitter bar you'll notice that it jumps away. Would you like me to send you a sample of this kind of bug? /T

              O Offline
              O Offline
              ORi x
              wrote on last edited by
              #6

              You've described exactly the main window of my application and is where I tried it. So I repeat everything went fine! ORi

              O 1 Reply Last reply
              0
              • O ORi x

                You've described exactly the main window of my application and is where I tried it. So I repeat everything went fine! ORi

                O Offline
                O Offline
                ORi x
                wrote on last edited by
                #7

                Sorry!!!! My English isn't very good so when I read left I understood right! Now I've tried what you said with the nested splitter windows on the left and YES it happens also to me! It must be some bug...

                T 1 Reply Last reply
                0
                • O ORi x

                  Sorry!!!! My English isn't very good so when I read left I understood right! Now I've tried what you said with the nested splitter windows on the left and YES it happens also to me! It must be some bug...

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

                  Ok, good! (or bad) :) Do you know how to fix it? Cause it's definitely a CSplitterWnd bug where they've somehow missed calculating the width of the splitter borders when using nested splitters... /Tommy

                  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