Hi Rick and welcome to our community
What works in a Web page should also work in a .CHM.
Assuming, of course, that you get all the bits that are needed
inside the .CHM. Let me guess. The web page solution uses a .JS
file? If so, perhaps you failed to include the .JS file in your
Baggage files.
Out of curiosity, why do you wish to disable right clicking?
Cheers... Rick