How do I implement the function "OnReceive" in a dialog-based MFC-program?