> We want to include the use of winhelp in our Win 95 program, but
> didn't find out, how the data parameter in call like
>
> (win:winhelp (pc:window-handle *screen*) "XXX.HLP" win:help_context
> data :static)
>
> has to be defined in order to transfer context numbers or strings to the
> Windows system.
> It didn't work to use lisp numbers? Could you provide an example?
The two following samples do well on Window'95:
(win:winhelp (pc:window-handle *lisp-main-window*)
"c:\\windows\\help\\calc.hlp"
win:help_index
null
:static)
(win:winhelp (pc:window-handle *lisp-main-window*)
"c:\\windows\\help\\calc.hlp"
win:help_key
"NUM LOCK key" ;"cubing"
:static)
You need not do anything while using win:help_key - just pass a Lisp
string.
Sicerely,
Dmitri Ivanov
<aha.ru at divanov>