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. message

message

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

    My class relationship is: class CViewBase::CFormView {......} class CViewLogon::CViewBase {......} CViewLogon::OnInitialUpdate() {......} i want do something in func CViewLogon::OnInitialUpdate(),but the program did not execute the func at all.in other word,i can't trace into the func CViewLogon::OnInitialUpdate(). what's up to my program? gucy

    T 1 Reply Last reply
    0
    • G gucy

      My class relationship is: class CViewBase::CFormView {......} class CViewLogon::CViewBase {......} CViewLogon::OnInitialUpdate() {......} i want do something in func CViewLogon::OnInitialUpdate(),but the program did not execute the func at all.in other word,i can't trace into the func CViewLogon::OnInitialUpdate(). what's up to my program? gucy

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      Where are you trying to invoke OnInitialUpdate? Or are you letting MFC do it. Also, check and make sure your routine declaration matches EXACTLY. If you change and argument or a return type, it won't get executed. Tim Smith I'm going to patent thought. I have yet to see any prior art.

      G 1 Reply Last reply
      0
      • T Tim Smith

        Where are you trying to invoke OnInitialUpdate? Or are you letting MFC do it. Also, check and make sure your routine declaration matches EXACTLY. If you change and argument or a return type, it won't get executed. Tim Smith I'm going to patent thought. I have yet to see any prior art.

        G Offline
        G Offline
        gucy
        wrote on last edited by
        #3

        i did let mfc to do it.and i didn't change the parameter or return type. i've look up the msdn.it said the function is called when the view is first attached to the document.but my app has no document.it is a extension dll,and the view is just one of the views of the splitterwindow. Does that do something to my app? gucy

        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