Pop up help not working.

  • Thread starter Thread starter Morris Neuman
  • Start date Start date
M

Morris Neuman

I have a form in C# VS2008. I have attached a HelpProvider and linked to a
CHM file for help which works. But I want certain controls to just use
pop-up help. I have set the HelpString to the text I want and cleared the
HelpKeyword field but I always get the CHM file opening. Ijust want a small
pop-up box with a line of text like a tool tip.

How can I get some control to use pop-up help?
 
Hi Morris,

Welcome to Microsoft Managed Newsgroup!

Have you set the HelpButton property of the form to true, and set
MaximizeBox and MinimizeBox to false?

You can refer to the following steps to display help for the controls in a
pop-ip window:

1. Add a TextBox control to the Form1 form;
2. Add a HelpProvider component to the Form1 form;
3. Right click Form1, and then click Properties;
4. In the Properties window, set HelpButton to True;
5. Set MaximizeBox to False;
6. Set MinimizeBox to False;
7. Add the following sample code to the Form1_Load event handler:

HelpProvider1.SetHelpString(textBox1, "Help content for the TextBox.");

8. Build and run the application;
9. When the application runs, click the Help button on the title bar of
the form, and then click the TextBox control, the help string will display
in a pop-up window.

Please try my suggest and let me know whether it helps.

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Zhi-Xin

I tried what you said but no Help button appears on the title bar of the form.
The Max and MIn buttons are set to false.

The only difference from your instructions is that my helpprovider has the
HelpNamespace set to a MyAppHelp.chm file I created for this form. The
MyAppHelp.chm does come up when I press F1 in the form or if the text box has
the focus the help.CHM file opens up to the right help page as designated in
the Hepkeyword field.

I even tried turning the Help to false and the maximize to true and no
Maximize button shows up on the title bar either.

Is there some other property of the title bar which controls these buttons
to show?
What else can be the problem?
 
My form border style was SizableToolWindow and I changed it to sizable.
Now the help button now appears in the Design but when I run the debugger I
see the Min and Max Buttons on the title bar even though they are set to
false.
What else could be wrong?
 
Hi Morris,

You might have changed the MinizeBox and MaximizeBox property to true
somewhere in the code, maybe in the Form_Load event handler. You can press
Ctrl+Shift+F and type MaximizeBox or MinimizeBox to find all the references
of these two properties in your application, and check wether their value
are set to true.

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Morris,

How about the issue now? If you have any questions or concerns, please do
not hesitate to let me know.

Have a nice day!

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top