473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Stocks software, mouse_over

Hello,

I'm wondering how developpers dealing with Stocks
software, manage to allow user to visualize 'stock datas'
when moving mouse over a 'barchart' or a 'average
line' ???

Is it possible to achieve this in C# ?
If so, what's the 'secret' behind ? (detection
collision ???)

I'm eager to understand !

Philippe, FRANCE
Nov 15 '05 #1
4 1357
Hi Philippe,

It really depends on which control is used to display bar charts. I think
some controls allow for specifying hint text for every bar on the chart, and
the text will than be displayed when the mouse pointer is over the bar.

Even if you draw bar charts with plain GDI+, you can employ the ToolTip
common control (requires P/Invoke calls to API level functions in this
context) to display stock information tips. You should be also easily able
to detect the "mouse over" event, as far as I remember it's one of the
standard events exposed by the Control class.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"philippe" <je****@club-internet.fr> wrote in message
news:09****************************@phx.gbl...
Hello,

I'm wondering how developpers dealing with Stocks
software, manage to allow user to visualize 'stock datas'
when moving mouse over a 'barchart' or a 'average
line' ???

Is it possible to achieve this in C# ?
If so, what's the 'secret' behind ? (detection
collision ???)

I'm eager to understand !

Philippe, FRANCE


Nov 15 '05 #2
Thank you for replying Dmitriy,

Your idea of GDI+ and tooltip sounds nice...

Would you kindly give me a quick code example.

Thank you so much -)))

Philippe

-----Original Message-----
Hi Philippe,

It really depends on which control is used to display bar charts. I thinksome controls allow for specifying hint text for every bar on the chart, andthe text will than be displayed when the mouse pointer is over the bar.
Even if you draw bar charts with plain GDI+, you can employ the ToolTipcommon control (requires P/Invoke calls to API level functions in thiscontext) to display stock information tips. You should be also easily ableto detect the "mouse over" event, as far as I remember it's one of thestandard events exposed by the Control class.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"philippe" <je****@club-internet.fr> wrote in message
news:09****************************@phx.gbl...
Hello,

I'm wondering how developpers dealing with Stocks
software, manage to allow user to visualize 'stock datas' when moving mouse over a 'barchart' or a 'average
line' ???

Is it possible to achieve this in C# ?
If so, what's the 'secret' behind ? (detection
collision ???)

I'm eager to understand !

Philippe, FRANCE


.

Nov 15 '05 #3
You're welcome Philippe, but unfortunately I don't have any code examples at
hand. Try searching the Internet and the archived content of
microsoft.dotnet.* newsgroups available at http://groups.google.com.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Philippe" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Thank you for replying Dmitriy,

Your idea of GDI+ and tooltip sounds nice...

Would you kindly give me a quick code example.

Thank you so much -)))

Philippe

-----Original Message-----
Hi Philippe,

It really depends on which control is used to display

bar charts. I think
some controls allow for specifying hint text for every

bar on the chart, and
the text will than be displayed when the mouse pointer

is over the bar.

Even if you draw bar charts with plain GDI+, you can

employ the ToolTip
common control (requires P/Invoke calls to API level

functions in this
context) to display stock information tips. You should

be also easily able
to detect the "mouse over" event, as far as I remember

it's one of the
standard events exposed by the Control class.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"philippe" <je****@club-internet.fr> wrote in message
news:09****************************@phx.gbl...
Hello,

I'm wondering how developpers dealing with Stocks
software, manage to allow user to visualize 'stock datas' when moving mouse over a 'barchart' or a 'average
line' ???

Is it possible to achieve this in C# ?
If so, what's the 'secret' behind ? (detection
collision ???)

I'm eager to understand !

Philippe, FRANCE


.


Nov 15 '05 #4
Dmitriy,

Thank you anyway for your kind answers

Philippe
-----Original Message-----
You're welcome Philippe, but unfortunately I don't have any code examples athand. Try searching the Internet and the archived content ofmicrosoft.dotnet.* newsgroups available at http://groups.google.com.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Philippe" <an*******@discussions.microsoft.com> wrote in messagenews:02****************************@phx.gbl...
Thank you for replying Dmitriy,

Your idea of GDI+ and tooltip sounds nice...

Would you kindly give me a quick code example.

Thank you so much -)))

Philippe

>-----Original Message-----
>Hi Philippe,
>
>It really depends on which control is used to display

bar charts. I think
>some controls allow for specifying hint text for every

bar on the chart, and
>the text will than be displayed when the mouse pointer

is over the bar.
>
>Even if you draw bar charts with plain GDI+, you can

employ the ToolTip
>common control (requires P/Invoke calls to API level

functions in this
>context) to display stock information tips. You should

be also easily able
>to detect the "mouse over" event, as far as I remember

it's one of the
>standard events exposed by the Control class.
>
>--
>Dmitriy Lapshin [C# / .NET MVP]
>X-Unity Test Studio
>http://x-unity.miik.com.ua/teststudio.aspx
>Bring the power of unit testing to VS .NET IDE
>
>"philippe" <je****@club-internet.fr> wrote in message
>news:09****************************@phx.gbl...
>> Hello,
>>
>> I'm wondering how developpers dealing with Stocks
>> software, manage to allow user to visualize 'stock

datas'
>> when moving mouse over a 'barchart' or a 'average
>> line' ???
>>
>> Is it possible to achieve this in C# ?
>> If so, what's the 'secret' behind ? (detection
>> collision ???)
>>
>> I'm eager to understand !
>>
>> Philippe, FRANCE
>
>.
>


.

Nov 15 '05 #5

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

Similar topics

0
by: Kate Stahl | last post by:
--_E4.3.C_FED..A. Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable Investor Insights Newsletter features companies with revolutionary product= s and soaring revenues. We...
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
0
by: Vince Varallo | last post by:
Hello, Does anyone know of a good source for a web part for stocks and weather. I'm developing a corporate portal using .NET 2.0 and using the web parts controls. I'm currently using the msnbc...
1
by: kathnicole | last post by:
Hi All, I am asked to build a database for a Printing Company that would prepare a Job quote for the Customers and review the stocks available to carry out the Job. Stock Information performs...
2
by: tmh86 | last post by:
Hi guys wonder if anyone can help me. I have tasked with putting together a website that will require me to get stocks and share information daily(and possibly real time). I have no idea where to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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,...

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.