1

I want to prevent the opening of help (.chm) when the F1 key is pressed in the SaveFileDialog. I actualy have another chm used in the application Windows but when clicking the SaveFileDialog an extra chm of Microsoft is opened which i do not want.

LEyahoo
  • 83
  • 1
  • 9
  • Can you assign the HelpProvider on the dialog? – Patrick Hofman May 02 '16 at 09:00
  • What operating system and development environment you are using? Is focus on the form or on the save button of the SaveFileDialog? I tried on my Windows 10 machine with Visual Studio 2015 installed and I get a Windows 10 internet help site without doing some special help call at this stage. – help-info.de May 03 '16 at 09:37
  • OS: win7. dev. env.: vs2013. I do not want the windows help rather to use my own chm which works in other forms of the application (or even to prevent any help). – LEyahoo May 11 '16 at 09:07

2 Answers2

1

You can set ShowHelp to false or handle the HelpRequest event. You could show your own help there if you want to.

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325
  • The ShowHelp = false. did not done the job. Also i tried to remove the events of HelpRequest by using code i found in http://stackoverflow.com/a/91853/4948887 is that what you ment? (it did not done the job as well ) – LEyahoo May 02 '16 at 11:26
0

just make a new event for the opened Window and check if F1 is klickt. if yes open your help info thing.

Ams1
  • 135
  • 1
  • 14
  • I think it wont help. I can't create new event for the standart SaveFileDialog and even if it is posible with extention method it wont prevent the microsoft help from showing. Do someone have any solution for this question? Nothing from the above helped – LEyahoo May 17 '16 at 05:17