473,387 Members | 1,683 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,387 software developers and data experts.

Displaying help in a control

Dear all,

I have an application written in C#. The main form contains two areas:
the first one for data input and results, the second one for
informations. In this last area I would like to display the related help
(contained in a CHM file) each time a control (in the first area) get
the focus.

How can I do that? Which type of control must I use?

Thanks in advance,

Philippe
Jun 27 '08 #1
3 1535
Hi Philippe,

the most simple thing I can think of:

1. Place a short description text resp. CHM help URL in the 'Tag' property
of every data entry control.
2. Attach the MouseHover event of each data entry control to a single(!)
event handler that takes the sender's tag info to open/display the correct
help text.
3. Et voilá! :-)
Greetings,
Hans
"Philippe HALET" <p.*****@hdsi.beschrieb im Newsbeitrag
news:48*********************@news.scarlet.nl...
Dear all,

I have an application written in C#. The main form contains two areas: the
first one for data input and results, the second one for informations. In
this last area I would like to display the related help (contained in a
CHM file) each time a control (in the first area) get the focus.

How can I do that? Which type of control must I use?

Thanks in advance,

Philippe

Jun 27 '08 #2
Oops, what i forgot:

4. The WebBrowser control is able to display CHM content, just get the weird
deep linking URL "mk:@MSIStore:..." from the CHM itself (right click on
desired page and look at 'Property')

Greetings,
Hans
"Philippe HALET" <p.*****@hdsi.beschrieb im Newsbeitrag
news:48*********************@news.scarlet.nl...
Dear all,

I have an application written in C#. The main form contains two areas: the
first one for data input and results, the second one for informations. In
this last area I would like to display the related help (contained in a
CHM file) each time a control (in the first area) get the focus.

How can I do that? Which type of control must I use?

Thanks in advance,

Philippe

Jun 27 '08 #3
On Jun 9, 4:56*am, Philippe HALET <p.ha...@hdsi.bewrote:
Dear all,

I have an application written in C#. The main form contains two areas:
the first one for data input and results, the second one for
informations. In this last area I would like to display the related help
* (contained in a CHM file) each time a control (in the first area) get
the focus.

How can I do that? Which type of control must I use?

Thanks in advance,

Philippe
Hi,

You can use the mouse over event to detect the mouse movement. or even
better, mouse enter/leave You need to know the ID (or url) of the
control.
You could have one method to handle all the requests, no need to have
one per control
Jun 27 '08 #4

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

Similar topics

1
by: Yoshitha | last post by:
hi I have datalist control in my ASP.NET application the problem here is i have used a textbox with multiline true propertly when i enter data like "fdjsfhjksdhfjsdfhsdjhfsdfhsdjfhsd...
3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
5
by: Tomaz Koritnik | last post by:
Hi I have many short HTML files stored in a binary stream storage to display descriptions for various items in application. HTML would be display inside application using some .NET control or...
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
2
by: johnb41 | last post by:
In my app, I need to open up a multipage tiff file, and also display it's thumbnail images IN HIGH QUALITY. (High Quality meaning anti-aliased, and looking good; not rough and pixely) The...
4
by: Jason Chan | last post by:
How can I get the month and year a calendar control current displaying? My problem is I want to load a list of event to a calendar so that it display difference style if there a event for a day....
2
by: MLH | last post by:
A97 Am having difficulty displaying graph in Form View that I see fine in graph control on form opened in design view. I know I'm doing something wrong. If I open the form in design view - I...
3
by: Richard Carpenter | last post by:
I understand how to use a dropdown list control to display the associated description value for a foreign key in a parent rather than the key itself, but I don't like having to disable the control...
5
by: Tom | last post by:
VS 2003/C# Have a axWebBrowser control that will not render images. Originally our app was just launching IE7 to display an HTML page. The bitmap images were not displaying - path was correct...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...

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.