How to get tooltip text for a given HWND?

前端 未结 4 1661
眼角桃花
眼角桃花 2020-12-07 03:20

I\'m looking for a way to get the tooltip control (if any) which is associated with a given HWND. The text of the tooltip control would be sufficient, too. The closest thing

4条回答
  •  渐次进展
    2020-12-07 03:39

    To get tooltip text from some control you could use TTN_NEEDTEXT message. It was designed to be used by the ToolTip control, but I cannot see any reason why you could not send it from other place.

提交回复
热议问题