Shannon from Little Kids Grow shows how to sew a hidden button fly for a pair of pants. She uses them when making pajama pants but she says you can also use one in place of a zipper fly. Her tutorial includes how to draft the pattern for a hidden button fly and how to sew it up. Go to her blog for the how-to.
[photo from Little Kids Grow]