You might want to watch one of the
videos on the hinge component. The slides are
here.
If you're talking about doing this for VSPAERO, then the control surface SubSurface is probably not what you want. I would recommend setting up the model with the hinge as above and re-positioning the surface between runs.
The Subsurface control surface is set up for simple plain flap type surfaces with the hinge line at the surface LE. You could make a surface encompass 100% of a wing, but the hinge line would be in the wrong place for your case.
Rob