You are absolutely right, but I think I have some problems with my help file, everytime I try to open it throug F1, i get a weird message bout my MAP section saying HH_Help_Context called without a map section. Thats why I tried the API thingi, and I do not get any errors there!
Do you know where my mistake could be?
Thanx, Stephan
BTW: Doesn`t VB call the exact same API I did? Wouldnt it be a god idea then to call the Api right away?
Keep Smiling - even if its hard
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute. C# - Base64Blog
1. I think that error might have occured because you did not assign initial ContextId to your form (btw you'd need to set KeyPreview = True as well).
2. Most probaly VB does call that same function. Is it better to use API? I'm not sure in this case. I like using API when subclassing is the only way and/or VB cannot do something that will satisfy performance. Otherwise use what's given first. Although, I would use API instead of OCXs such Common Dialog, SysInfo and some others wich are API wrappers anyway but create unnecessary dependencies ...
I post my form and my -chm file for you. Could you take a look at it? I just cant find anything i've done wrong here. Just created a test .chm and a test proj.
pressing F1 makes that mistake pop up, and clicking my menu, makes the same mistake popup and blocks my mouse!
Thanx, Stephan
Keep Smiling - even if its hard
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute. C# - Base64Blog
I created a new Help Project, tried that one, and it worked perfectliy allright! Just cant imagine what went wrong with that other file! Well anyways, thanx to all of you!
Have a nice day,
Stephan
Keep Smiling - even if its hard
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute. C# - Base64Blog