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. DisableProcessWindowsGhosting in C++?

DisableProcessWindowsGhosting in C++?

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorialquestiondiscussion
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.
  • D Offline
    D Offline
    Debs
    wrote on last edited by
    #1

    My program gives me a problem in XP and XP alone. The main program runs fine, but when I open a form that then runs another thread and some other tasks if the user clicks on the dialog while the tasks are being processed the form won't close after the tasks are complete (as it should). The tasks are all completed correctly except the form won't close. I also get a "Not responding message" in the dialog top bar when the user is clicking on the form. :( I throught maybe i needed to run the DisableProcessWindowsGhosting() function at the beginning of my program, however my program does'nt not seem to recognize that function. I have inclued "winuser.h" as a header. Any thoughts on this, either how to get the DisableProcessWindowsGhosting() to work, or another possible solution. Note: I have also tried the PeekMessage function but this did not work. Cheers* Any help would be greatful :). Debs*

    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