Is it possible... I want to use it to tell the new users what to do when they first open the form.
Right now i set it up but it only pops up on mouse over the control..
This is probably easy right ?
Fred Morin said:This is probably easy right ?
You can use UltraTooolTipManager and call the ShowToolTip method on it to show a tooltip. That part is pretty simple.
But this won't work in Form_Load because you can't show a child window inside that event.It seems to work okay in Form_Shown, though. So you might just need to use a flag so it only happens the first time - if that's what you want.
private void Form1_Load(object sender, EventArgs e) { UltraToolTipInfo tooltipInfo = this.ultraToolTipManager1.GetUltraToolTip(this); tooltipInfo.ToolTipText = "Form is loaded."; } private void Form1_Shown(object sender, EventArgs e) { this.ultraToolTipManager1.ShowToolTip(this, this.Location); }
works like a charm.. .just need to figure out how to show it to the bottom right of the control
cause now it shows too much to the left.. like the location of the control is not good
The Location of the control is in client coords relative to the form. The tooltip coords are specified in screen coords. So you probably just need to call PointToScreen on your control to convert the coords to screen coords.
Worked like a charm.. Thanks..