SendMessageToForm example provided in comments