begin
if not (fsShowing in Self.FormState) then begin
if TopAction.Checked then begin // \83X\83e\83C\8fó\91Ô\82É\90Ý\92è
- FormStyle := fsStayOnTop;
+ SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE);
end else begin // \83X\83e\83C\8fó\91Ô\89ð\8f\9c
- FormStyle := fsNormal;
+ SetWindowPos(Handle, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE);
end;
// \83X\83e\83C\8fó\91Ô\82Ì\95Û\91¶
GikoSys.Setting.EditWindowStay := FormStyle = fsStayOnTop;