반응형
procedure TForm1.Button3Click(Sender: TObject);
var
AStyle:Integer;
begin
AStyle:=GetWindowLong(Button1.Handle,GWL_STYLE);
AStyle:=AStyle or BS_LEFT;
SetWindowLong(Button1.Handle,GWL_STYLE,AStyle);
end;
반응형
procedure TForm1.Button3Click(Sender: TObject);
var
AStyle:Integer;
begin
AStyle:=GetWindowLong(Button1.Handle,GWL_STYLE);
AStyle:=AStyle or BS_LEFT;
SetWindowLong(Button1.Handle,GWL_STYLE,AStyle);
end;