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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MFC - message handling function does not seem to run

MFC - message handling function does not seem to run

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++data-structureshelpquestion
1 Posts 1 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
    Trucker
    wrote on last edited by
    #1

    Hi, I seem to be stuck in this MFC coding world...:wtf: I made a treeview and I coded a message handling function that handles the message =TVN_SELCHANGED (when a tree item is selected). I did this first by going to the properties of my CLeftView class and clicking 'messages' button, then scrolling to =TVN_SELCHANGED and selecting the item from the drop down list to add the function for this message. Then I coded it. But for some weird reason that function does not seem to execute when I run my program and select an item in the tree.:mad: What gives? I am a newbie in MFC, I am more comfortable in .NET, but already dislike to program in MFC - its just so much easier in .NET.:sigh: Anywas, if anybody knows what Im doing wrong, or maybe what im not doing that Im supposed to, if you could point it out to me, I would appreciate it greatly. Thanks. TraileR ParK LifE 4Ever

    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