欢迎光临
我们一直在努力

如何隐藏窗口的TITLE标题?(原创)-数据库专栏,SQL Server

建站超值云服务器,限时71元/月

如何隐藏窗口的title标题?

问题描述:

如何隐藏窗口的title标题?

解决方案:

1、把下列声明加到global external functions:

 

function ulong setwindowpos(ulong hwnd,ulong hwndinsertafter,ulong x,ulong y,ulong cx,ulong cy,ulong wflags) library “user32.dll”

function ulong setwindowlonga(long hwnd, long nindex, long dwnewlong) library user32.dll

function ulong getwindowlonga(long hwnd, long nindex) library user32.dll

 

2、把下列代码加到w_frame窗口(即mdi窗口)的open事件:

 

long dwstyle

 

dwstyle = getwindowlonga(handle(this), -16)

 

dwstyle = dwstyle – 12582912

 

dwstyle = setwindowlonga(handle(this), -16, dwstyle)

 

setwindowpos(handle(this), -2, 0, 0, 0, 0, 39)

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 如何隐藏窗口的TITLE标题?(原创)-数据库专栏,SQL Server
分享到: 更多 (0)

相关推荐

  • 暂无文章