473,772 Members | 3,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ToolTip popup at every mouse stationary - How to?

Hello,

I'm using the ToolTip control, but I want it to behave a bit different.

I want the toolTip to popup not only once when the control is enter and the
mouse is stationary.
I want the toolTip to popup every time the mouse is stationary over the
control without the mouse leaving and entering the control again.

How can I do that? Even by overriding the ToolTip class?
-------
Thanks
Sharon
Aug 5 '08 #1
7 2553
IMO your efforts and time are best spent to learn HTML and JavaScript which
the controls emit anyway. There are several well done robust "tooltip"
JavaScript libraries/solutions already available if you go out looking for
them. Sorry I don't recall any names off hand as I would certainly say so to
give you a lead.

"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:13******** *************** ***********@mic rosoft.com...
Hello,

I'm using the ToolTip control, but I want it to behave a bit different.

I want the toolTip to popup not only once when the control is enter and
the
mouse is stationary.
I want the toolTip to popup every time the mouse is stationary over the
control without the mouse leaving and entering the control again.

How can I do that? Even by overriding the ToolTip class?
-------
Thanks
Sharon
Aug 5 '08 #2
But can I use them in the .NET 2.0 C# environment (VS2005)?

--
Thanks
Sharon
"HillBilly" wrote:
IMO your efforts and time are best spent to learn HTML and JavaScript which
the controls emit anyway. There are several well done robust "tooltip"
JavaScript libraries/solutions already available if you go out looking for
them. Sorry I don't recall any names off hand as I would certainly say so to
give you a lead.

"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:13******** *************** ***********@mic rosoft.com...
Hello,

I'm using the ToolTip control, but I want it to behave a bit different.

I want the toolTip to popup not only once when the control is enter and
the
mouse is stationary.
I want the toolTip to popup every time the mouse is stationary over the
control without the mouse leaving and entering the control again.

How can I do that? Even by overriding the ToolTip class?
-------
Thanks
Sharon

Aug 5 '08 #3
Sure of course. Its a matter of learning to become competent to learn how
noting its sounding as if you do not understand two fundamentals yet. We all
started somewhere eh? :-) The web is referred to as client-server
architecture. You've probably heard that.

There is code that is run on the server like C# that we refer to as
server-side code which is used to access the database and do other tasks on
the server required to build the page. Once the page is returned to the
client (browser) the code that runs in the page is called client-side code.
These days client-side code is always JavaScript regardless of the Windows,
Mac or Linux platform or which browser us being used. Its because the
JavaScript is downloaded with the page is put onto the file system where the
client can access and run the code without a trip back to the server.

In the traditional HTML web development page model there's no way to master
web development without acquiring some mastery of JavaScript. Your choice to
use C# was wise as both JavaScript and C# come from the legacy language C
and as such they have exactly the same punctuation so even though there are
other differences we learn two languages for the price of one so to speak.
"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:94******** *************** ***********@mic rosoft.com...
But can I use them in the .NET 2.0 C# environment (VS2005)?

--
Thanks
Sharon
"HillBilly" wrote:
>IMO your efforts and time are best spent to learn HTML and JavaScript
which
the controls emit anyway. There are several well done robust "tooltip"
JavaScript libraries/solutions already available if you go out looking
for
them. Sorry I don't recall any names off hand as I would certainly say so
to
give you a lead.

"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:13******* *************** ************@mi crosoft.com...
Hello,

I'm using the ToolTip control, but I want it to behave a bit different.

I want the toolTip to popup not only once when the control is enter and
the
mouse is stationary.
I want the toolTip to popup every time the mouse is stationary over the
control without the mouse leaving and entering the control again.

How can I do that? Even by overriding the ToolTip class?
-------
Thanks
Sharon

Aug 5 '08 #4
This just came to my attention in a newsletter...
http://www.aspwire.com/brief.asp?19277
"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:94******** *************** ***********@mic rosoft.com...
But can I use them in the .NET 2.0 C# environment (VS2005)?

--
Thanks
Sharon
"HillBilly" wrote:
>IMO your efforts and time are best spent to learn HTML and JavaScript
which
the controls emit anyway. There are several well done robust "tooltip"
JavaScript libraries/solutions already available if you go out looking
for
them. Sorry I don't recall any names off hand as I would certainly say so
to
give you a lead.

"Sharon" <Sh*****@newsgr oups.nospamwrot e in message
news:13******* *************** ************@mi crosoft.com...
Hello,

I'm using the ToolTip control, but I want it to behave a bit different.

I want the toolTip to popup not only once when the control is enter and
the
mouse is stationary.
I want the toolTip to popup every time the mouse is stationary over the
control without the mouse leaving and entering the control again.

How can I do that? Even by overriding the ToolTip class?
-------
Thanks
Sharon

Aug 5 '08 #5
Why do you assume he's even using a web project at all? It sounded
like the standard ToolTip windows forms component to me.. and he could
probably do what he wants by subclassing the tooltip component.

Andy

On Aug 5, 12:03*pm, "HillBilly" <someb...@somew here.comwrote:
Sure of course. Its a matter of learning to become competent to learn how
noting its sounding as if you do not understand two fundamentals yet. We all
started somewhere eh? :-) The web is referred to as client-server
architecture. You've probably heard that.

There is code that is run on the server like C# that we refer to as
server-side code which is used to access the database and do other tasks on
the server required to build the page. Once the page is returned to the
client (browser) the code that runs in the page is called client-side code.
These days client-side code is always JavaScript regardless of the Windows,
Mac or Linux platform or which browser us being used. Its because the
JavaScript is downloaded with the page is put onto the file system where the
client can access and run the code without a trip back to the server.

In the traditional HTML web development page model there's no way to master
web development without acquiring some mastery of JavaScript. Your choiceto
use C# was wise as both JavaScript and C# come from the legacy language C
and as such they have exactly the same punctuation so even though there are
other differences we learn two languages for the price of one so to speak..
Aug 5 '08 #6
Uh, probably for the same reason you assume she is a he!

"Andy" <an***@med-associates.comw rote in message
news:0b******** *************** ***********@f63 g2000hsf.google groups.com...
Why do you assume he's even using a web project at all? It sounded
like the standard ToolTip windows forms component to me.. and he could
probably do what he wants by subclassing the tooltip component.

Andy

On Aug 5, 12:03 pm, "HillBilly" <someb...@somew here.comwrote:
Sure of course. Its a matter of learning to become competent to learn how
noting its sounding as if you do not understand two fundamentals yet. We
all
started somewhere eh? :-) The web is referred to as client-server
architecture. You've probably heard that.

There is code that is run on the server like C# that we refer to as
server-side code which is used to access the database and do other tasks
on
the server required to build the page. Once the page is returned to the
client (browser) the code that runs in the page is called client-side
code.
These days client-side code is always JavaScript regardless of the
Windows,
Mac or Linux platform or which browser us being used. Its because the
JavaScript is downloaded with the page is put onto the file system where
the
client can access and run the code without a trip back to the server.

In the traditional HTML web development page model there's no way to
master
web development without acquiring some mastery of JavaScript. Your choice
to
use C# was wise as both JavaScript and C# come from the legacy language C
and as such they have exactly the same punctuation so even though there
are
other differences we learn two languages for the price of one so to speak.
Aug 5 '08 #7
Well, I am developing a win Form project/ application and not a web
application.
Also using the .NET 20 with VS2005.

I did tried derived the System.Windows. Forms.ToolTip but there is nothing
more I can do to make it work like I want it to.

I'm now working on using a System.Windows. Forms.Timer to be used in the
MouseMove event and the timer event to show and hide the ToolTip manually.
and it's workiing nice, but still some issues that mess it up, like the
mouseMove event is fired even when the mouse is not moving, causing my timer
to start and stop over and over.

Still; I very much like to use the ToolTip or any other variation of it to
do the job...

Any ideas?
BTW - You can assume I'm a he and not a she...
--
Thanks
Sharon
Aug 5 '08 #8

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

Similar topics

3
2276
by: Mr.Tickle | last post by:
How can I get the tooltip in a generic way for any control that the mouse is hovering over in a single application, I dont want to have to code the MouseHover event handler on every form.
3
2118
by: Dennis | last post by:
I have implemented the ToolTip class for a user control that inheirits from the panel. I show different tool tips depending on where the mouse is on the control when the hover event occurs. However, if the mouse is moved to another part of the control, the tooltip doesn't show again until the user moves the mouse off the control then back on. How do I reset the tooltip to show again when the mouse moves within the panel to a different...
0
2140
by: EricL | last post by:
Hello, I have written a Custom Control which inherits from ToolTip and it is an OwnerDraw tooltip. In the Popup event I calculate the size of the tooltip I need to display (rather large tooltip) and resize it using the ToolTipSize property. In the Draw event, I draw my tooltip.
0
4531
by: EricL | last post by:
Hello, I have written a Custom Control which inherits from ToolTip and it is an OwnerDraw tooltip. In the Popup event I calculate the size of the tooltip I need to display (rather large tooltip) and resize it using the ToolTipSize property. In the Draw event, I draw my tooltip.
4
7810
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves, there is another DB column named 'Description'. Though the resultset fetches this column as well along with the above 3 columns, I am excluding the Description column from the DataList - the reason being most of the descriptions are pretty long &...
5
9828
by: =?Utf-8?B?cGV0ZTE5Njk=?= | last post by:
I use Visual Studio 2005 and created a very simple Form with one button. I added a Tooltip for that button. It shows fine the first time I hover over that button. But if I let it disappear by the maximum time it should be displayed, it never shows again over that button. Is that intended? And what can I do to make it show again?
3
4671
by: Rainer Queck | last post by:
Hi NG, working on a project in VS2005 I started to add ToolTips. My problem now is, that each ToolTip only shows once. mouving the mouse over a button shows its tooltip, moving to the next button show the coresponding tooltib. If I now move back to the first button the tooltip does not popup again. Is there "some setting" responsible for that? What must I do, that the tooltip is shown every time the mouse moves over the control?
1
3492
by: Bruno Wouters | last post by:
Hello, I want to create a tooltip like Word 2007 shows when you select text. http://img167.imageshack.us/img167/9809/floatiefq4.gif I have no problem with putting buttons etc in the tooltip but the tooltip closes when I navigate with my mouse to over the tooltip before I can click any buttons. How can I keep the tooltip open when I am hovering over it?
6
2591
by: Peter | last post by:
I am trying to create a tooltip popup - where the popup will allow you to click on a button inside the popup Kind of like the popup on the foodnetwork website http://www.foodnetwork.com/recipes/emeril-lagasse/roasted-pumpkin-soup-with-crispy-duck-confit-relish-recipe2/index.html Does anyone have any examples or info on how to do that ? I am thinking of using jquery to do that, or is there a easier / better way
0
9620
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...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8934
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
7460
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
6715
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();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.