现在的位置: 首页 > 综合 > 正文

创建大窗口

2011年08月13日 ⁄ 综合 ⁄ 共 218字 ⁄ 字号 评论关闭
procedure TForm1.FormCreate(Sender: TObject);
begin
  SetWindowLong(
    Handle,
    GWL_STYLE,
    not (WS_THICKFRAME) and GetWindowLong(Handle, GWL_STYLE) or Integer(WS_POPUP)
  );
  SetWindowPos(Handle, 0, 0, 0, 1920, 1080, SWP_NOZORDER or SWP_NOMOVE);
end;

抱歉!评论已关闭.