private int SetupEventBinding(IController controller) { int windowMessage = controller.RegisterWindowMessage(CustomWindowMessage); controller.SetupHook(Handle); controller.SetupHotkeys(Handle); return windowMessage; }