Why your camcorder stopped working was not the electronics, but the high humidity caused the tape to stick to the rollers and guides.
As you found out, when the camera dries, it will work again.
It sounds as if water did get into the R40 and could have shorted out something.
You did the right thing in waiting for it to dry.
First, you should look into the battery holder part of the camera and see if you see any corrosion on the contacts. Also check the battery contacts for corrosion. Corrosion can usually be scraped away.
About all you can do is recharge the battery, install a different memory card, cross your fingers and turn it on.
Digital camera repairs are usually quite expensive.
You may want to start looking for a replacement camera.
...
..
.
A week ago I went to Hawaii and, as always, brought my camera, a Casio QV-R40 4MP model, along. When I was photographing the ocean with some other islands I could see, I think my case might have gotten wet. The next day when I tried to power up my camera, it refused to turn on. I assumed that the humidity might have caused it to temporarily stop working (it happened to my camcorder a year ago, and it started working again after a day or two). It wouldn't turn on for the rest of my trip and even after I returned to Denver. I'm fairly sure that the salt water that may have been in the case short-circuited something and stopped the camera working on the first day, but now that the water has had the time to evaporate I thought it would work again. I don't know much about the electronics and haven't tried to take it apart, and my warranty expired a year ago. What can I do before/instead of buying a new camera and selling this one for parts?
Thanks,
Ilya Smirnov

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic