in the forms unit
function AllocateHWnd(Method: TWndMethod): HWND; deprecated; { moved
to Classes.pas }
{$EXTERNALSYM AllocateHWnd}
procedure DeallocateHWnd(Wnd: HWND); deprecated; { moved
to Classes.pas }
read the help will sort you out just fine
Ross Levis wrote:
I'm writing a component which
communicates with a 3rd party DLL using WM_USER messages. After
loading the DLL, I need to tell the DLL the handle to send user
messages back to, so my unit can intercept them, but I don't know where
to get a handle from. I know how to do it in the mainform of a program
but not in a separate unit. The messages sent to the mainform do not
appear to reach my unit.
What do I need to do to make this
happen?
Thanks,
Ross.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
|
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi