Results 1 to 4 of 4

Thread: send usermessage to another form with postmessage

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Location
    The Netherlands
    Posts
    31

    send usermessage to another form with postmessage

    How can I sent userdefined message to another form usign Postmessage?

  2. #2
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    You mean that the user can select what message he/she wants to send to a handle, then they press a button and it sends the message?
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  3. #3
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    You can create your own message by adding some constant to WM_USER e.g

    WM_MYMSG = WM_USER + 100

    Just make sure you put that in both apps.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Location
    The Netherlands
    Posts
    31
    Then follows the next question:

    How can I use the parameters lparam and wparam to transport date for me?

    This does not become clear in the documentation that I have found.

Posting Permissions

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



Click Here to Expand Forum to Full Width