I do that too playfelt. I talk to the child but really my message is going to the parent. Some would call that passive agressive but it really works like a subliminal message.
LOL sometimes there is nothing wrong with passive aggressive if it gets the job done
Children construct their own intelligence. The adult must provide activities and context, but most of all must be able to listen. Children need proof that adults believe in them. Their three great desires are to be listened to, to understand, and to demonstrate that they are exactly what we expect."