473,809 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 21 '05 #1
2 1503
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.

Jul 21 '05 #2
Thanks Tian

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

Regards Steve

"Tian Min Huang" <ti******@onlin e.microsoft.com > wrote in message
news:ge******** ******@cpmsftng xa10.phx.gbl...
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.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1328
by: drb | last post by:
I have a MAP object on an aspx page. The MAP object contains a number of AREA objects. I would like to assign a tooltip or onmouseover event to each of these AREA objects, but it doesn't look like AREA has title or tooltip properties, despite what I see in help documentation. Does anyone know how I can do this? thanks. David
0
1246
by: Frio | last post by:
VB.net help file provided the following excerpt for the SetToolTip method: ********** Remarks In addition to specifying the ToolTip text to display for a control, you can also use this method to modify the ToolTip text for a control. Calling the SetToolTip method more than once for a given control does not specify multiple ToolTip text to display for a control but instead changes the current ToolTip text for the control. To determine...
0
1115
by: Hako | last post by:
hi, I find a code in FAQTs about how to bind a tooltip with a button. FAQTs link http://www.faqts.com/knowledge_base/view.phtml/aid/20565/fid/264 but not enough informatin for how to make multiple tooltip. Someone can help me and show a little example how it's done.
6
2706
by: Robert | last post by:
Hello. I have been trying out the Lebans ToolTip Classes at http://www.lebans.com/tooltip.htm, to display "balloon" style help tips in a form. The classes I am using are located at http://www.lebans.com/DownloadFiles/A2kTooltip.zip So far the classes work perfectly, except that now I need to extend it to support other controls besides the ones given in the example form. I have gotten it to work with some controls, but not others. I...
0
1399
by: Gupta | last post by:
Hi, Iam working on a C# application currently and involved in testing and fixing memory leaks in the application. The application has one main form which exists throughout the application cycle. Im having problem with a tooltip. I have link label in my form and attached a tooltip to it. When i dispose the linklabel and the tooltip, the tooltip
2
260
by: runningdog | last post by:
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
1
5274
by: cemcat | last post by:
Hello, We have an ASP.NET 2.0 (C#) web form that contains a textbox for users to enter multiple e-mail addresses separated by semicolons. We need to validate that each individual e-mail address entered is a valid e-mail address format. We've added a CustomValidator to perform this validation. We have the server-side validation working fine, but now we need to add some client-side validation via JavaScript. We are having difficulties...
0
2626
by: NvrBst | last post by:
Hello. I'm trying to display a tooltip to an external window. I have a wrapper class public class WindowWrapper : System.Windows.Forms.IWin32Window { public WindowWrapper(IntPtr handle) { _hwnd = handle; } public IntPtr Handle { get { return _hwnd; } } private IntPtr _hwnd; } But when I call the following
0
4670
by: sharonrao123 | last post by:
hello all, I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box and also get the datakey (in my case personid) of the the rows selected. Please point me in the right direction. This is what i have so far but i have problem accessing the child gridview in the button click event Cheers, Shilpa. <asp:GridView...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7662
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.