rok doltar - 2008-03-20

This might be a beginner's question, but:
I want to create a dialog box with two pannels (GROUPBOX) and some other controls that would be childs to one of those pannels. Is it possible to do it in a resource file or do I have to call CreateWindow functions to specify the correct parent of those controls?