Thanks, I must have lost my mind. I was trying so hard to find an ATL equivalent, that I forgot to just look at the MFC source code to see what they do.

Wayne