C#,Delphi,Oracle,MSSQL 개발자블로그
델파이 폼 Maximize, Minimize 버튼 숨기기 본문
procedure TForm1.FormCreate(Sender: TObject); var l: DWORD;
begin
// hide minimize and maximise buttons
l := GetWindowLong(Self.Handle, GWL_STYLE);
l := l and not(WS_MINIMIZEBOX);
l := l and not(WS_MAXIMIZEBOX);
l := SetWindowLong(Self.Handle, GWL_STYLE, l);
end;
출처 : https://stackoverflow.com/questions/2316286/how-to-disable-maximize-button-in-delphi-program
'Programming > Delphi' 카테고리의 다른 글
델파이 Abort와 Exit의 차이점은? (0) | 2019.06.08 |
---|---|
[경로/에러]컴퓨터에 *.dll이(가) 없어 프로그램을 시작할 수 없습니다. (0) | 2019.06.08 |
델파이 여러가지 단축키 (0) | 2019.06.08 |
델파이 지정된 프로그램이 실행중인지 체크 (0) | 2019.06.08 |
델파이 TButton vs TBitBtn vs TSpeedButton 차이점. (0) | 2018.11.08 |
Comments