Nobody likes to not be wanted... Either from an ex, who no longer wants you... ouch! Or from prospective partners who don't fancy you... ouch.
You can't hide from the hurt of this, but what is the best way to act around these people so that they either want you or are pissed off that you appear to not want them... emotional higher ground ?