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. C / C++ / MFC
  3. Splitter Windows

Splitter Windows

Scheduled Pinned Locked Moved C / C++ / MFC
7 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.
  • D Offline
    D Offline
    Drake Elsari
    wrote on last edited by
    #1

    I overrided the OnCreateClient function for my MDI child window to add a splitter. Everything work just fine except when I type into one of the views I get an illegal error, and I beleive everyone knows what i'm talking about. I was just really hoping someone here could help me with this problem. Also I am compiling with a shared DLL for MFC and service pack 3.

    D B 2 Replies Last reply
    0
    • D Drake Elsari

      I overrided the OnCreateClient function for my MDI child window to add a splitter. Everything work just fine except when I type into one of the views I get an illegal error, and I beleive everyone knows what i'm talking about. I was just really hoping someone here could help me with this problem. Also I am compiling with a shared DLL for MFC and service pack 3.

      D Offline
      D Offline
      Drake Elsari
      wrote on last edited by
      #2

      Someone please help, also I am not using Doc/View architecture.

      1 Reply Last reply
      0
      • D Drake Elsari

        I overrided the OnCreateClient function for my MDI child window to add a splitter. Everything work just fine except when I type into one of the views I get an illegal error, and I beleive everyone knows what i'm talking about. I was just really hoping someone here could help me with this problem. Also I am compiling with a shared DLL for MFC and service pack 3.

        B Offline
        B Offline
        Ben Burnett
        wrote on last edited by
        #3

        What kind of error are you getting? be a little more specific. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)

        D 1 Reply Last reply
        0
        • B Ben Burnett

          What kind of error are you getting? be a little more specific. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)

          D Offline
          D Offline
          Drake Elsari
          wrote on last edited by
          #4

          Well, when I press on the details it says it's an invalid page fault. Then when I debug it, it says unhandled exception in raIRC.exe(MFC42.dll) 0xC0000005: Access Violation. And in the dissasembly it shows me this line: 5F41A33D mov eax,dword ptr [ecx]

          D B 2 Replies Last reply
          0
          • D Drake Elsari

            Well, when I press on the details it says it's an invalid page fault. Then when I debug it, it says unhandled exception in raIRC.exe(MFC42.dll) 0xC0000005: Access Violation. And in the dissasembly it shows me this line: 5F41A33D mov eax,dword ptr [ecx]

            D Offline
            D Offline
            Drake Elsari
            wrote on last edited by
            #5

            Please, someone help me with this.

            1 Reply Last reply
            0
            • D Drake Elsari

              Well, when I press on the details it says it's an invalid page fault. Then when I debug it, it says unhandled exception in raIRC.exe(MFC42.dll) 0xC0000005: Access Violation. And in the dissasembly it shows me this line: 5F41A33D mov eax,dword ptr [ecx]

              B Offline
              B Offline
              Ben Burnett
              wrote on last edited by
              #6

              I take it raIRC.exe is you application, the resto of the stuff does not help me much. Check you call stack, is there any of the functions you are overiding in it? If not, try setting a break point just before the code you just entered that is casing the problem, then just step throught till it bombs... do some tracing... make sure all the pointers your using are valid -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)

              D 1 Reply Last reply
              0
              • B Ben Burnett

                I take it raIRC.exe is you application, the resto of the stuff does not help me much. Check you call stack, is there any of the functions you are overiding in it? If not, try setting a break point just before the code you just entered that is casing the problem, then just step throught till it bombs... do some tracing... make sure all the pointers your using are valid -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)

                D Offline
                D Offline
                Drake Elsari
                wrote on last edited by
                #7

                I did that, and the code work perfect in Doc/View except the person that told me how to use splitters said it would work without the Doc/View.

                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