The question title is kind of vague, but I really don\'t know what the thing is called.
I am trying to
That's called a tool tip. You can set the tool tip for any NSView using setToolTip:.
NSView
setToolTip: