PDA

Click to See Complete Forum and Search --> : winHelp


hasandak
Dec 6th, 2001, 06:47 AM
I am using winHelp function to close the help window
The problem is that the first parameter shpuld be an "Handle to the window requesting help" .
I have a form and class when I press on F1 to run help, I put the handle of that form and winHelp work. but when I am using the help from the menu
I am calling sendkeys("F1") from the class (all the menu function are in the class) I can not put the handle of the form .
and the class does not have hwnd property
what should I do ???

Megatron
Dec 6th, 2001, 02:24 PM
How about requiring the user to pass the handle to the window (as an argument) in your function.