Searching in event/paint