MessageSender

Will allow sending of window messages
Download

MessageSender Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Dmytro Ivanchykhin
  • Publisher web site:
  • http://www.codeproject.com/Members/Dmytro-Ivanchykhin
  • Operating Systems:
  • Windows All
  • File Size:
  • 44 KB

MessageSender Tags


MessageSender Description

The MessageSender application was developed to be a small tool that allows sending of window messages to a selected window from both MessageSender and target window thread context.Settings and OperationsWindow Selection You can provide the handle of a window or its title and class. Alternatively, you can use a window-finding tool thanks to Lim Bio Liong and his article MS Spy++ style Window Finder. Also, you can navigate along next/previous or parent/first child windows.Message Selection Enter message code (hex) or select a message from the list, specifying their wParam and lParam. For a few messages, you can customize their parameters in a more natural way. It is especially useful for those whose values should be pointers. See, for instance, WM_SETTEXT or WM_SETFONT.Sending Method You can select among the SendMessage(), PostMessage() and SendMessageTimeout() functions to send a message.ContextSome messages cannot be sent to windows from a different thread. If target window thread context is selected, MessageSender first installs a hook on the target window, injecting msgsndr.dll to its process address space. During the first call to the hook function, a new hidden window will be created in the target thread context. This window will serve as a medium while sending messages. Namely, MessageSender will pack an original message and send it packed using WM_COPYDATA to that hidden window. Then the window procedure unpacks it and forwards to its target. Note that the last steps will be performed not in MessageSender, but in the target thread context.Time Values Normally messages will be sent once, as soon as you press the "Send it!" button. By specifying correspondent values, you can do it later or a few times in a chain.


MessageSender Related Software