I'm trying to create controls at run time using the CrerateWindowEx
function. I have managed to create certain controls without a problem.
However I can't seem to be able to figure out how to create a simple label.
Does any one know what parameters I should use to do this.

My other question is this. I have managed to create and display control such
as a text box and a button and when I create the control I set the text of
the text box or the caption of the button but how do I change the text or
caption proerties after the controls have been created.

If someone could lead me to some sample code that would be great.