Morning all..

Im hoping someone can help me with something.
I want to call SubClassDlgitem() against an object that I have just dynamically creted, so I have a pointer to the item.(its a Cstatic object in fact).
I thought I would be able to get this from the Hwnd, but I dont think I can now.

Does anyone know how I can get the handle to the object I have just created??

Looking around a bit, it seems it may be rather orkward..

Many thanks for your time

Phill