Is it just that the handle is not public or not there at all? Try casting as Tcomponent (if possible).
  
  Dave
 

"Mhd. Monir AlSabbagh" <[EMAIL PROTECTED]> 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]



  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.

   
---------------------------------
 



           
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1ยข/min with Yahoo! Messenger with Voice.

[Non-text portions of this message have been removed]



-----------------------------------------------------
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