Mhd. Monir AlSabbagh wrote:
> 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]
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
-----------------------------------------------------
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
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

