I am designing my own component, it is composed of a TPanel witch contains a TImage, now I
want to let the TPanel to know that an image has been loaded into the TImage. So I create
U_WM_LoadImage = WM_APP + 400;
TU_WM_LoadImage = Record
Msg : Cardinal;
Result : LongInt;
and make a
call in my LoadImage procedure. I then proceed to declare a message handler in my TPanel
procedure UWMLoadImage(var Message: TU_WM_LoadImage); message U_WM_LoadImage;
where I simply let it show a message.
This does not work, why and how can i make it work?
Need urgent ansewer! = High points