The WinHelp_RegisterHelpProcedure() function indicates which procedure script will be called when help is accessed.
WinHelp_RegisterHelpProcedure(script procedure_script)
• script procedure_script – The name of the procedure script to be called each time help is accessed.
An integer indicating the status. If 0 is returned, no error occurred. If any other value is returned, an error occurred while registering the help processing procedure.
For stand-alone applications, the help processing procedure script is registered in the Main Menu form pre script. For applications that integrate with Microsoft Dynamics GP, the help processing procedure script is registered in the Startup procedure script.