How to add label and button controls in .Net ToolTip
HI,
I want to customize the existing win-form tool-tip control to host child controls like label and buttons with adjustable tool-tip window size and other common tool-tip properties.
Please also suggest any open-source custom tool-tip control 开发者_如何学运维which will provide the same kind of functionality.
Thanks
UPDATED: Please check following link, which contains exactly the same thing.
http://www.aicore.co.cc/WinUI/Classes/ToolTip
No this is not possible to add any control to Tooltip
as it is not a container.
You have to make a user Control, that have label or buttons in it and handle mouse events to show it like tooltip.
You can't do this with the stock tooltip control in WinForms.
I'm not aware of any Open Source ones that support this, but you could write your own using a special borderless window.
aicore.co.cc/WinUI/Classes/ToolTip It is not a ToolTip of Windows OS. It is a part of my GUI library, developed from scratch.
精彩评论