Just wondering, is there a way to draw a standard control (such as a button, a group box, a radio button) into an arbitrary memory DC? In other words, if i call this certain API Windows will draw all the required visual appearance for that standard control into my provided device context. I could have sworn i saw an api that did this but i cant find it anymore

Thanks in advance