Hi,

Could anyone please tell me how to add controls to dialogs dynamically? (I'm using VC++ not VB.)

If anyone here has used Photoshop, what I'm trying to achieve is something like the Layers toolbox in Photoshop, where layer names appear dynamically when the user creates them.

I did see a solution to this problem at http://www.mooremvp.freeserve.co.uk/Win32/w32tip57.htm but I'm a beginner and I don't understand how to use the supplied code in MFC.

Could someone please help me? Thanks very much in advance.

Murli.