Hi,

Usually I send wm messages to TForm this way:

PostMessage(Form1.Handle, WM_MY_DEFFIND_MESSAGE, 0, 0);

and in Form1 I receive the message this way:

procedure WMMyDeffindMessage(var AMsg: TMessage); message
WM_MY_DEFFIND_MESSAGE;

Now I need to post the message to TDataModule not to TForm, since
there is NO Handle in TDataModule, how can I send a message to
TDataModule?

Thank you for your help.

Monir.







-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to