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. MDI question

MDI question

Scheduled Pinned Locked Moved C / C++ / MFC
questionalgorithms
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
    RK_2000
    wrote on last edited by
    #1

    Hi, I have an MDI application. Suppose the user starts searching for something on one view. Then he/she switches over to another view. Obisouly, since the find dialog was launched with the other view, it won't be associated with the new one. But what if I wanted this to be the case? how do I make a find dialog launched in one view, to be associated with another view whenever the second view becomes active? thanks

    P 1 Reply Last reply
    0
    • R RK_2000

      Hi, I have an MDI application. Suppose the user starts searching for something on one view. Then he/she switches over to another view. Obisouly, since the find dialog was launched with the other view, it won't be associated with the new one. But what if I wanted this to be the case? how do I make a find dialog launched in one view, to be associated with another view whenever the second view becomes active? thanks

      P Offline
      P Offline
      Pavel Klocek
      wrote on last edited by
      #2

      The dialog communicates with the application using Windows Messages. Define the message handlers on the level of views, then the messages from the search dialog will be received by the current top view. Sonork 100.15206;PavelK

      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