[DUG] CM_CHILDKEY

Max Nilson max at accredo.co.nz
Tue Sep 13 20:02:24 NZST 2005


Rohit Gupta asked: 

> I have a question about CM_CHILDKEY.  For example if I drop a 
> tedit on a tpanel and trap CM_childkey on tedit and process it.  
> Were you implying that the unmodified tpanel will not see that key ?

If the CM_CHILDKEY on the TPanel sets the message result to non-zero, then
the CM_CHILDKEY processing stops at that point and the TPanel will never
receive the notification. On the other hand if the message result is left as
0, then the TPanel will recieve the next due to the default CM_CHILDKEY
processing.

Cheers, Max.





More information about the Delphi mailing list