S SaintZorro Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #1 请问怎样用API函数使Edit中的文字变成掩码?
R RedBeret Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #2 不用那么复杂吧,你把Edit.Passwordchar属性设为‘*’看看。
S SaintZorro Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #3 我知道可以这样做,我只是想问用API怎么实现
L lorderic Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #4 Delphi的TEdit的Window是Create自windows預設的Edit class, 可以透過SendMessage方式<br>設定Edit window, <br>如下<br>SendMessage(Edit1.Handle, EM_SETPASSWORDCHAR, Ord('*'), 0);<br>取消Password char<br>SendMessage(Edit1.Handle, EM_SETPASSWORDCHAR, 0, 0);
Delphi的TEdit的Window是Create自windows預設的Edit class, 可以透過SendMessage方式<br>設定Edit window, <br>如下<br>SendMessage(Edit1.Handle, EM_SETPASSWORDCHAR, Ord('*'), 0);<br>取消Password char<br>SendMessage(Edit1.Handle, EM_SETPASSWORDCHAR, 0, 0);