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. How do I handle modeless dialog events?

How do I handle modeless dialog events?

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

    If I create several modeless dialogs, how do I keep track of what happens in each one of them? I couldn't find much information on this subject, so I'd really appreciate any help! Does anyone know some good links or samples on modeless dialogs? Thanks in advance!

    P 1 Reply Last reply
    0
    • T Thomas T

      If I create several modeless dialogs, how do I keep track of what happens in each one of them? I couldn't find much information on this subject, so I'd really appreciate any help! Does anyone know some good links or samples on modeless dialogs? Thanks in advance!

      P Offline
      P Offline
      Philip Nicoletti
      wrote on last edited by
      #2

      Could you give a little more info on what you are trying to do ? The message handling routines work the same, whether in Modal or Modeless. Are you having problems communicating data between the various modeless dialogs that you have set up ?

      T 1 Reply Last reply
      0
      • P Philip Nicoletti

        Could you give a little more info on what you are trying to do ? The message handling routines work the same, whether in Modal or Modeless. Are you having problems communicating data between the various modeless dialogs that you have set up ?

        T Offline
        T Offline
        Thomas T
        wrote on last edited by
        #3

        I don't know how to refer to a certain (open) modeless dialog from my program's MainFrame, where I create them. I would like to implement reference to a modeless dialog by checking the dialog's caption and then specifying whether or not the message was supposed to be sent to that dialog. This raises a question: Is there a useful function that I could use to check all open dialogs (and their captions)? If there isn't such a function, is there another way of knowing which (modeless) dialog is supposed to receive the message? I don't have to communicate between my program's various modeless dialogs, just send data to them.

        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