Simple question... what do you have to do/flag in order for dialog controls to use XP visual themes?

I'm creating a dialog/controls from a resource... what am I missing?