+ Reply to Thread
Results 1 to 2 of 2

Thread: How to send a message to all child windows of the Window?

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    23

    How to send a message to all child windows of the Window?

    Hi All,

    Currently, I have to enumerate all the child windows using EnumChildWindows.

    And then use PostMessage to send a message to child window.

    Can I make this logic a bit nice?

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    48
    There is a nice API for this, SendMessageToDescendants.

    Please read this link:
    http://msdn.microsoft.com/en-us/libr...=vs.80%29.aspx

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts