Multiple tooltip objects.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • runningdog

    #1

    Multiple tooltip objects.

    Hi,

    I have created a number of Windows Forms Controls that require tooltips. If
    I add a tooltip object to each of my controls will this create any
    resource/performance issues that I should be concerned with.

    Would it be better to bind to a single tooltip object when the control is
    consumed by an application?

    Thanks Steve


  • Tian Min Huang

    #2
    RE: Multiple tooltip objects.

    Hello Steve,

    Thanks for your post. I revewed your description carefully, and now I'd
    like to share the following information with you:

    Generally speaking, creating/using one tooltip object does not cause much
    resource/performance issues. However, I still recommend you create an
    instance of the ToolTip class and associate it with the container of your
    controls say, a WinForm. Because, it can SetToolTip to your controls as
    well as other controls on the Form, you can also set different ToolTip text
    for each of your user control.

    Please feel free to let me know if you have any problems or concerns.

    Have a nice day!

    Regards,

    HuangTM
    Microsoft Online Partner Support
    MCSE/MCSD

    Get Secure! -- www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    Comment

    • runningdog

      #3
      Re: Multiple tooltip objects.

      Thanks Tian

      I have taken your advise and will bind my "user controls" to a single
      tooltip.

      Regards Steve

      "Tian Min Huang" <timhuang@onlin e.microsoft.com > wrote in message
      news:geOAe29MEH A.1368@cpmsftng xa10.phx.gbl...[color=blue]
      > Hello Steve,
      >
      > Thanks for your post. I revewed your description carefully, and now I'd
      > like to share the following information with you:
      >
      > Generally speaking, creating/using one tooltip object does not cause much
      > resource/performance issues. However, I still recommend you create an
      > instance of the ToolTip class and associate it with the container of your
      > controls say, a WinForm. Because, it can SetToolTip to your controls as
      > well as other controls on the Form, you can also set different ToolTip[/color]
      text[color=blue]
      > for each of your user control.
      >
      > Please feel free to let me know if you have any problems or concerns.
      >
      > Have a nice day!
      >
      > Regards,
      >
      > HuangTM
      > Microsoft Online Partner Support
      > MCSE/MCSD
      >
      > Get Secure! -- www.microsoft.com/security
      > This posting is provided "as is" with no warranties and confers no rights.
      >[/color]


      Comment

      Working...