开发者

Displaying tooltips during mousedrag

开发者 https://www.devze.com 2023-03-10 10:45 出处:网络
I\'d like to display a tooltip while a user is dragging a mouse to create a rectangle.The contents of the tooltip would be an indication of the size of the rectangle.I don\'t know how to get the toolt

I'd like to display a tooltip while a user is dragging a mouse to create a rectangle. The contents of the tooltip would be an indication of the size of the rectangle. I don't know how to get the tooltip to display when the mouse button is down, and to stop displaying when the mouse button is up.

The application is written in C++ on Windows, using Visual Studio 2开发者_运维百科005, no MFC, no ATL.


Try sending a TTM_ACTIVATE message to turn the tooltip window on or off.

0

精彩评论

暂无评论...
验证码 换一张
取 消