If Im right, and Im no expert on Auto's, but when you apply brake in drive, you obviously stop and when you pull away all is Ok. Same with DSG.
Obviously you cannot apply the handbrake whilst in drive so when you stop at lights or junction, either apply the brake and thats all, leaving it in drive, or if you want the handbrake on, put it in park or neutral!
Im not quite sure what your asking?