zoukankan      html  css  js  c++  java
  • delphi 程序全屏显示无标题栏,覆盖整个屏幕

    delphi 程序全屏显示无标题栏,覆盖整个屏幕,这个在做工控机或屏保时有用的,所以记下

    procedure TMainFrm.FormCreate(Sender: TObject);

    begin

      with MainFrm do begin

            { Position form }
            Top := 0 ;
            Left := 0 ;
            { Go full screen}
            BorderStyle := bsNone ;
            WindowState  := wsmaximized;
            ClientWidth  := Screen.Width ;
            ClientHeight := Screen.Height;
            Refresh;
            SetForegroundWindow(Handle) ;
            SetActiveWindow(Application.Handle) ;

      end;

    end;

  • 相关阅读:
    CCF201604试题
    CCF201512试题
    CCF201509试题
    CCF201509试题
    CCF201503试题
    CCF201503试题
    CCF201412试题
    CCF201412试题
    CCF201409试题
    CCF201409试题
  • 原文地址:https://www.cnblogs.com/zhangzhifeng/p/6037540.html
Copyright © 2011-2022 走看看