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. Command Routing

Command Routing

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 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.
  • R Offline
    R Offline
    ROK_RShadow
    wrote on last edited by
    #1

    Let Suppose I have a Frame Window and this frame is split into to panes now in each pane is another frame. How do I get the top level menu to route message commands to the other two frames? I can use classwizard all day long to create message ID's in the other two frames.. but no matter how hard I press that left mouse button.. the message is never delivered.

    T 1 Reply Last reply
    0
    • R ROK_RShadow

      Let Suppose I have a Frame Window and this frame is split into to panes now in each pane is another frame. How do I get the top level menu to route message commands to the other two frames? I can use classwizard all day long to create message ID's in the other two frames.. but no matter how hard I press that left mouse button.. the message is never delivered.

      T Offline
      T Offline
      Taka Muraoka
      wrote on last edited by
      #2

      Look in the MSDN for OnCmdMsg(). It takes care of command routing. Override it to give your sub-frames a look at the messages before processing them in the normal way.


      he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed) NEW: Awasu 1.0[^]: A free RSS reader with support for Code Project.

      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