I've added a FAQ entry named 'How to send data between forms' to IStaySharp that shows you how to send data with the COPYDATASTRUCT and SENDMESSAGE function.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.