Well i have found an answer.
I have created all the "objects" on the constructor, with absolutely no references to each other (only the create method), and in the CreateWnd overrided procedure I put all the logical (parents and so on) dependences between objects.