易
易名烦
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br> M: TMessage;<br>begin<br> with M do begin<br> msg := WM_SetText;<br> lparam := integer(pchar('我是按钮'));<br> wparam := 0;<br> result := 0;<br> end;<br> panel1.Broadcast(M);<br>panel1上有三个按钮,为何只有一个变了caption。<br>如果把msg改成BN_Disable,lparam := 0,为何一个按扭都不变灰。<br>