Users Pricing

forum

Home Forums Tooltip background alternation – MindStick

Tooltip background alternation

Anonymous User 2086 09 Dec 2013

The single tooltip which shows different messages for different controls. Now the Problem is the background image is not fit/suitable to all messages. I supposed to call the draw event of the tooltip for custom size, Font etc.,

I able to successfully call the draw and Popup event of the tooltip for particular message but setting the generalized size for different messages(e.ToolTipText) is unknown to me.

public void tooltip_Popup(object sender, PopupEventArgs e)

{

    e.ToolTipSize = new Size(100, 100);

}

Kindly let me know anybody have any idea about it.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md