Comes from the typical "Thanks" reaction after someone does something nice for you. Expect in their attempt at helping you they hurt or hinder your efforts.
I was cleaning out the filing cabinet and my wife hanked me by throwing away the wrong pile of papers.
7👍 27👎