开发者

Displaying tooltips during mousedrag

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜