didClick now takes a TPoint parameter; will click P and return true if the X is found.