Hi,

When I create a Dialog and put some Edit-Controls on it and connect them to a CEdit member variable, where exactly does the program create that CEdit member variable ?

There is no code in my Dialog for the creation and initalisation of the CEdit (position, WS_VISIBLE, etc...) , so I suppose it happens in some Windows-class/-function when I call DoModal() in the main program. I want to catch the creation of those controls and modify them, but therefore I need to know where I should to this...

And I need to do this before they are being created. Creating my own controls is also no solution since I want to use those in the "dialog.rc" which have been placed with the Visual Studio Resource Editor.

Any help or advice on this would be very appreciated...