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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Can I destory other thread's child window?

Can I destory other thread's child window?

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

    I know that sending WM_CLOSE or WM_DESTROY or WM_QUIT can destory a window created by other thread. But this is not working when the target window is child window(With WS_CHILD Style, like property window in SDI). [My Question is] Can I destory other thread's child window? If I can, please give me some advise about how to do it.

    A 1 Reply Last reply
    0
    • F fitatc

      I know that sending WM_CLOSE or WM_DESTROY or WM_QUIT can destory a window created by other thread. But this is not working when the target window is child window(With WS_CHILD Style, like property window in SDI). [My Question is] Can I destory other thread's child window? If I can, please give me some advise about how to do it.

      A Offline
      A Offline
      Adam Roderick J
      wrote on last edited by
      #2

      Did u open the thread with full access permission?

      Величие не Бога может быть недооценена.

      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