Easy problem with Message handling
Posted on 2004-09-17
I'm pretty sure this is going to be a very easy question, but i've just started with C++ Builder and don't quite understand it yet.
Basically I need to set the Application->OnActivate to a custom function.
I can't seem to find out how to do this.
Every function declaration I try throws up a declaration error.
If I add in
void __fastcall (__closure *TNotifyEvent)(System::TObject, TObject* Sender);
it compiles, but where do I put the name of this function? And where do I put the body of code.
Any help greatly appreciated.