You can only view the HH and view your opponents hand if you both went to the Showdown, then the winner shows and the loser mucks, click HH and its like Magic :p
I think you can do this because you're allowed to request the mucked players hand to be shown in Casinos, although it doesnt get you much rep
Remember, you can only see Mucked hands, not Folded.