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. Modal dialogs

Modal dialogs

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
    Roger
    wrote on last edited by
    #1

    I have an application that uses a worker thread for communication for another application. During certain process-to-process communication calls a warning dialog needs to be displayed that will not allow the user to change any onscreen controls (a modal dialog essentially). This warning dialog is opened before the communication call and closed after it, this may take 3-5 seconds. I am currently trying to use PostMessage from the worker thread back to the main thread in order to display the warning dialog. This does not completely work though. Does anyone have any suggestions on what I could try?

    S 1 Reply Last reply
    0
    • R Roger

      I have an application that uses a worker thread for communication for another application. During certain process-to-process communication calls a warning dialog needs to be displayed that will not allow the user to change any onscreen controls (a modal dialog essentially). This warning dialog is opened before the communication call and closed after it, this may take 3-5 seconds. I am currently trying to use PostMessage from the worker thread back to the main thread in order to display the warning dialog. This does not completely work though. Does anyone have any suggestions on what I could try?

      S Offline
      S Offline
      Sam Hobbs
      wrote on last edited by
      #2

      Is this the same as: http://codeguru.earthweb.com/bbs/wt/showpost.pl?Board=vc&Number=167929

      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