close
首先 還是要先取得其他程式的 handle
然後才能設定不能縮小
var
Style:LongInt;
begin
Style := GetWindowLong(h, GWL_STYLE); //不能最小化
SetWindowLong(h, GWL_STYLE ,
Style and
(not WS_MINIMIZEBOX) and
(not WS_MAXIMIZEBOX) and
(not WS_SIZEBOX));
文章標籤
全站熱搜