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. CSplitterWnd Question

CSplitterWnd Question

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebuggingtutorial
4 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.
  • B Offline
    B Offline
    borland
    wrote on last edited by
    #1

    I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :

    B J 2 Replies Last reply
    0
    • B borland

      I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :

      B Offline
      B Offline
      borland
      wrote on last edited by
      #2

      *BUMP* : Wherever you go, there you are, and you wish you were somewhere else :

      1 Reply Last reply
      0
      • B borland

        I have an SDI app which is split into 4 views with 2 CSplitterWnds. When I resize the internal windows I get a trace message saying 'Warning: Could not find splitter cursor - using system provided alternative.' This is ok, because it still works and resizes and stuff, but some of the windows are not being redrawn when they should be. Can anyone tell me how to intercept any messages or anything so I know when the windows are being resized and can call the redraw functions for my views? I have searched MSDN and a fair few books and found nothing useful. Thanks a lot people. : Wherever you go, there you are, and you wish you were somewhere else :

        J Offline
        J Offline
        Jonnie White
        wrote on last edited by
        #3

        Have you tried a combination of CWnd::OnSizing() (called when user is resizing the window) and CWnd::OnSize() (called after the user has resized the window)? I don't know that this would work, but it might :-)

        B 1 Reply Last reply
        0
        • J Jonnie White

          Have you tried a combination of CWnd::OnSizing() (called when user is resizing the window) and CWnd::OnSize() (called after the user has resized the window)? I don't know that this would work, but it might :-)

          B Offline
          B Offline
          borland
          wrote on last edited by
          #4

          Thanks man I'll try that. It sounds to be exactly along the lines of what I want. if only MSDN told me that : Wherever you go, there you are, and you wish you were somewhere else :

          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