DEFINE BAR 777 OF _MSM_SYSTM PROMPT "Hacker's Guide" AFTER _MST_HPSCH KEY ALT+F1 ON SELECTION BAR 777 OF _MSM_SYSTM DO HOME() + "foxhack.prg"That puts the hackers guide underneith the help with a hot key of ALT+F1
LOCAL lc_oldclip, lc_selectd *-- Save the old help lc_help = SET('HELP', 2) *-- Save the old cliptext lc_oldclip = _cliptext *-- Copy what I have selected into the clipboard lc_selected = SPACE(0) = SYS(1500, "_med_copy", "_medit") lc_selected = _cliptext *-- Reset the clipboard _cliptext = lc_oldclip IF FILE(HOME() + "HACKFOX.CHM") *-- Set help to hackers guide SET HELP TO (HOME() + "HACKFOX.CHM") HELP &lc_selected *-- Reset the help file SET HELP TO (lc_help) ENDIFUsing this as an example I'm sure you can get the 1001.chm to work. Maybe there's an easry way but this works for me.