一行解决(0分)

  • 主题发起人 SuperMMX
  • 开始时间
S

SuperMMX

Unregistered / Unconfirmed
GUEST, unregistred user!
1, edit 中只输入数字
SetWindowLong(Edit1.Handle, GWL_STYLE,
GetWindowLong(Edit1.Handle, GWL_STYLE) or
ES_NUMBER);
2, button 的 caption 多行显示:
SetWindowLong(Button1.handle, GWL_STYLE,
GetWindowlong(Button1.Handle, GWL_STYLE) or
BS_MULTILINE);
必要时加上 Button1.Invalidate;
注意: Button 的 height 不会自动调整,最好把 height 设大点。
 
<font color=#E619EE size=6>T</font><font color=#6155B4>h</font><font color=#F20817>a</font><font color=#28FAC1>t</font><font color=#691864> </font><font color=#F8DF85>i</font><font color=#B151D0>s</font><font color=#EF256E> </font><font color=#F950EA>g</font><font color=#C4A900>r</font><font color=#246A9B>e</font><font color=#653072>a</font><font color=#AD13C8>t</font><font color=#EAF2EC>!</font>
 
还有谁能贡献一些?
 
能多介绍一下第三个参数吗
 
看 createWindow 的帮助, 里面有。
 
很好!很好!
 
你怎么知道我想写这个问题
 
接受答案了.
 
顶部