+ Reply to Thread
Results 1 to 3 of 3

Thread: How to send a user message to MFC dialog?

  1. #1

    How to send a user message to MFC dialog?

    I have a dialog box and I want to send a user custom message to dialog.

    How can I do this?

  2. #2
    You can use one the below techniques:

    a. SendMessage technique to send the message to a dialog window. This is blocking call. You can use SendMessageTimeout for timer based send.
    b. You can use PostMessage which is non-blocking call.
    c. If you know the thread identifier of the dialog window then you can use the PostThreadMessage technique.

  3. #3
    Thanks buddy.

+ Reply to 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