I
import
Unregistered / Unconfirmed
GUEST, unregistred user!
如果一定要隐藏三个按钮,可以这样:
Private
iStyle:Longint;
.....
不显示三个按钮
iStyle:=setwindowlong(handle,gwl_style,getwindowlong(handle,gwl_style) and not ws_minimizebox and not ws_maximizebox and not ws_sysmenu);
...
恢复显示按钮
SetwindowLong(handle,gwl_style,iStyle);
Private
iStyle:Longint;
.....
不显示三个按钮
iStyle:=setwindowlong(handle,gwl_style,getwindowlong(handle,gwl_style) and not ws_minimizebox and not ws_maximizebox and not ws_sysmenu);
...
恢复显示按钮
SetwindowLong(handle,gwl_style,iStyle);