Board index » delphi » Baseclass and SuperClass control
yousky
![]() Delphi Developer |
Baseclass and SuperClass control2005-01-29 01:20:03 AM delphi21 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 control. Thanks if you can give me an anwser :) Greg |