Baseclass and SuperClass control

2005-01-29 01:20:03 AM
Hi all,
I've a question about the CreateWindowEx function. I have a project in
which I need to hook this function. For exemple, when a button is
created the hook must fire up. All is right at that point. The problem
is that in the parameters of the CreateWindowEx function, the
lpClassName param is the name of the SubClassing control 'TButton'. Is
there a way to retrieve the name of the base class of these 'TButton'
which in that case is 'BUTTON'.
Because here, the TButton control subclass the 'BUTTON' windows
Thanks if you can give me an anwser :)