pm_handleEvent