Windows compatible event click