亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? tntforms.pas

?? TNT Components Source
?? PAS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):

{*****************************************************************************}
{                                                                             }
{    Tnt Delphi Unicode Controls                                              }
{      http://www.tntware.com/delphicontrols/unicode/                         }
{        Version: 2.3.0                                                       }
{                                                                             }
{    Copyright (c) 2002-2007, Troy Wolbrink (troy.wolbrink@tntware.com)       }
{                                                                             }
{*****************************************************************************}

unit TntForms;

{$INCLUDE TntCompilers.inc}

interface

uses
  Classes, Windows, Messages, Controls, Forms, TntControls;

type
{TNT-WARN TScrollBox}
  TTntScrollBox = class(TScrollBox{TNT-ALLOW TScrollBox})
  private
    FWMSizeCallCount: Integer;
    function IsHintStored: Boolean;
    function GetHint: WideString;
    procedure SetHint(const Value: WideString);
    procedure WMSize(var Message: TWMSize); message WM_SIZE;
  protected
    procedure CreateWindowHandle(const Params: TCreateParams); override;
    procedure DefineProperties(Filer: TFiler); override;
    function GetActionLinkClass: TControlActionLinkClass; override;
    procedure ActionChange(Sender: TObject; CheckDefaults: Boolean); override;
  published
    property Hint: WideString read GetHint write SetHint stored IsHintStored;
  end;

{TNT-WARN TCustomFrame}
  TTntCustomFrame = class(TCustomFrame{TNT-ALLOW TCustomFrame})
  private
    function IsHintStored: Boolean;
    function GetHint: WideString;
    procedure SetHint(const Value: WideString);
  protected
    procedure CreateWindowHandle(const Params: TCreateParams); override;
    procedure DefineProperties(Filer: TFiler); override;
    function GetActionLinkClass: TControlActionLinkClass; override;
    procedure ActionChange(Sender: TObject; CheckDefaults: Boolean); override;
  published
    property Hint: WideString read GetHint write SetHint stored IsHintStored;
  end;

{TNT-WARN TFrame}
  TTntFrame = class(TTntCustomFrame)
  published
    property Align;
    property Anchors;
    property AutoScroll;
    property AutoSize;
    property BiDiMode;
    property Constraints;
    property DockSite;
    property DragCursor;
    property DragKind;
    property DragMode;
    property Enabled;
    property Color nodefault;
    property Ctl3D;
    property Font;
    {$IFDEF COMPILER_10_UP}
    property Padding;
    {$ENDIF}
    {$IFDEF COMPILER_7_UP}
    property ParentBackground default True;
    {$ENDIF}
    property ParentBiDiMode;
    property ParentColor;
    property ParentCtl3D;
    property ParentFont;
    property ParentShowHint;
    property PopupMenu;
    property ShowHint;
    property TabOrder;
    property TabStop;
    property Visible;
    {$IFDEF COMPILER_9_UP}
    property OnAlignInsertBefore;
    property OnAlignPosition;
    {$ENDIF}
    property OnCanResize;
    property OnClick;
    property OnConstrainedResize;
    property OnContextPopup;
    property OnDblClick;
    property OnDockDrop;
    property OnDockOver;
    property OnDragDrop;
    property OnDragOver;
    property OnEndDock;
    property OnEndDrag;
    property OnEnter;
    property OnExit;
    property OnGetSiteInfo;
    {$IFDEF COMPILER_9_UP}
    property OnMouseActivate;
    {$ENDIF}
    property OnMouseDown;
    {$IFDEF COMPILER_10_UP}
    property OnMouseEnter;
    property OnMouseLeave;
    {$ENDIF}
    property OnMouseMove;
    property OnMouseUp;
    property OnMouseWheel;
    property OnMouseWheelDown;
    property OnMouseWheelUp;
    property OnResize;
    property OnStartDock;
    property OnStartDrag;
    property OnUnDock;
  end;

{TNT-WARN TForm}
  TTntForm = class(TForm{TNT-ALLOW TForm})
  private
    function GetCaption: TWideCaption;
    procedure SetCaption(const Value: TWideCaption);
    function GetHint: WideString;
    procedure SetHint(const Value: WideString);
    function IsCaptionStored: Boolean;
    function IsHintStored: Boolean;
    procedure WMMenuSelect(var Message: TWMMenuSelect); message WM_MENUSELECT;
    procedure CMBiDiModeChanged(var Message: TMessage); message CM_BIDIMODECHANGED;
    procedure WMWindowPosChanging(var Message: TMessage); message WM_WINDOWPOSCHANGING;
  protected
    procedure UpdateActions; override;
    procedure CreateWindowHandle(const Params: TCreateParams); override;
    procedure DestroyWindowHandle; override;
    procedure DefineProperties(Filer: TFiler); override;
    function GetActionLinkClass: TControlActionLinkClass; override;
    procedure ActionChange(Sender: TObject; CheckDefaults: Boolean); override;
    function CreateDockManager: IDockManager; override;
  public
    constructor Create(AOwner: TComponent); override;
    procedure DefaultHandler(var Message); override;
  published
    property Caption: TWideCaption read GetCaption write SetCaption stored IsCaptionStored;
    property Hint: WideString read GetHint write SetHint stored IsHintStored;
  end;

  TTntApplication = class(TComponent)
  private
    FMainFormChecked: Boolean;
    FHint: WideString;
    FTntAppIdleEventControl: TControl;
    FSettingChangeTime: Cardinal;
    FTitle: WideString;
    function GetHint: WideString;
    procedure SetAnsiAppHint(const Value: AnsiString);
    procedure SetHint(const Value: WideString);
    function GetExeName: WideString;
    function IsDlgMsg(var Msg: TMsg): Boolean;
    procedure DoIdle;
    function GetTitle: WideString;
    procedure SetTitle(const Value: WideString);
    procedure SetAnsiApplicationTitle(const Value: AnsiString);
    function ApplicationMouseControlHint: WideString;
  protected
    function WndProc(var Message: TMessage): Boolean;
    function ProcessMessage(var Msg: TMsg): Boolean;
  public
    constructor Create(AOwner: TComponent); override;
    destructor Destroy; override;
    property Hint: WideString read GetHint write SetHint;
    property ExeName: WideString read GetExeName;
    property SettingChangeTime: Cardinal read FSettingChangeTime;
    property Title: WideString read GetTitle write SetTitle;
  end;

{TNT-WARN IsAccel}
function IsWideCharAccel(CharCode: Word; const Caption: WideString): Boolean;

{TNT-WARN PeekMessage}
{TNT-WARN PeekMessageA}
{TNT-WARN PeekMessageW}
procedure EnableManualPeekMessageWithRemove;
procedure DisableManualPeekMessageWithRemove;

type
  TFormProc = procedure (Form: TForm{TNT-ALLOW TForm});

var
  TntApplication: TTntApplication;

procedure InitTntEnvironment;
  
implementation

uses
  SysUtils, Consts, RTLConsts, Menus, FlatSB, StdActns,
  Graphics, TntSystem, TntSysUtils, TntMenus, TntActnList, TntStdActns, TntClasses;

function IsWideCharAccel(CharCode: Word; const Caption: WideString): Boolean;
var
  W: WideChar;
begin
  W := KeyUnicode(CharCode);
  Result := WideSameText(W, WideGetHotKey(Caption));
end;

{ TTntScrollBox }

procedure TTntScrollBox.CreateWindowHandle(const Params: TCreateParams);
begin
  CreateUnicodeHandle(Self, Params, '');
end;

procedure TTntScrollBox.DefineProperties(Filer: TFiler);
begin
  inherited;
  TntPersistent_AfterInherited_DefineProperties(Filer, Self);
end;

function TTntScrollBox.IsHintStored: Boolean;
begin
  Result := TntControl_IsHintStored(Self);
end;

function TTntScrollBox.GetHint: WideString;
begin
  Result := TntControl_GetHint(Self);
end;

procedure TTntScrollBox.SetHint(const Value: WideString);
begin
  TntControl_SetHint(Self, Value);
end;

procedure TTntScrollBox.ActionChange(Sender: TObject; CheckDefaults: Boolean);
begin
  TntControl_BeforeInherited_ActionChange(Self, Sender, CheckDefaults);
  inherited;
end;

function TTntScrollBox.GetActionLinkClass: TControlActionLinkClass;
begin
  Result := TntControl_GetActionLinkClass(Self, inherited GetActionLinkClass);
end;

procedure TTntScrollBox.WMSize(var Message: TWMSize);
begin
  Inc(FWMSizeCallCount);
  try
    if FWMSizeCallCount < 32 then { Infinite recursion was encountered on Win 9x. }
      inherited;
  finally
    Dec(FWMSizeCallCount);
  end;
end;

{ TTntCustomFrame }

procedure TTntCustomFrame.CreateWindowHandle(const Params: TCreateParams);
begin
  CreateUnicodeHandle(Self, Params, '');
end;

procedure TTntCustomFrame.DefineProperties(Filer: TFiler);
begin
  inherited;
  TntPersistent_AfterInherited_DefineProperties(Filer, Self);
end;

function TTntCustomFrame.IsHintStored: Boolean;
begin
  Result := TntControl_IsHintStored(Self);
end;

function TTntCustomFrame.GetHint: WideString;
begin
  Result := TntControl_GetHint(Self);
end;

procedure TTntCustomFrame.SetHint(const Value: WideString);
begin
  TntControl_SetHint(Self, Value);
end;

procedure TTntCustomFrame.ActionChange(Sender: TObject; CheckDefaults: Boolean);
begin
  TntControl_BeforeInherited_ActionChange(Self, Sender, CheckDefaults);
  inherited;
end;

function TTntCustomFrame.GetActionLinkClass: TControlActionLinkClass;
begin
  Result := TntControl_GetActionLinkClass(Self, inherited GetActionLinkClass);
end;

{ TTntForm }

constructor TTntForm.Create(AOwner: TComponent);
begin
  // standard construction technique (look at TForm.Create)
  GlobalNameSpace.BeginWrite;
  try
    CreateNew(AOwner);
    if (ClassType <> TTntForm) and not (csDesigning in ComponentState) then
    begin
      Include(FFormState, fsCreating);
      try
        if not InitInheritedComponent(Self, TTntForm) then
          raise EResNotFound.CreateFmt(SResNotFound, [ClassName]);
      finally
        Exclude(FFormState, fsCreating);
      end;
      if OldCreateOrder then DoCreate;
    end;
  finally
    GlobalNameSpace.EndWrite;
  end;
end;

procedure TTntForm.CreateWindowHandle(const Params: TCreateParams);
var
  NewParams: TCreateParams;
  WideWinClassName: WideString;
begin
  if (not Win32PlatformIsUnicode) then
    inherited
  else if (FormStyle = fsMDIChild) and not (csDesigning in ComponentState) then
  begin
    if (Application.MainForm = nil) or
      (Application.MainForm.ClientHandle = 0) then
        raise EInvalidOperation.Create(SNoMDIForm);
    RegisterUnicodeClass(Params, WideWinClassName);
    DefWndProc := @DefMDIChildProcW;
    WindowHandle := CreateMDIWindowW(PWideChar(WideWinClassName),
      nil, Params.style, Params.X, Params.Y, Params.Width, Params.Height,
        Application.MainForm.ClientHandle, hInstance, Longint(Params.Param));
    if WindowHandle = 0 then
      RaiseLastOSError;
    SubClassUnicodeControl(Self, Params.Caption);
    Include(FFormState, fsCreatedMDIChild);
  end else
  begin
    NewParams := Params;
    NewParams.ExStyle := NewParams.ExStyle and not WS_EX_LAYERED;
    CreateUnicodeHandle(Self, NewParams, '');
    Exclude(FFormState, fsCreatedMDIChild);
  end;
  if AlphaBlend then begin
    // toggle AlphaBlend to force update
    AlphaBlend := False;
    AlphaBlend := True;
  end else if TransparentColor then begin
    // toggle TransparentColor to force update
    TransparentColor := False;
    TransparentColor := True;
  end;
end;

procedure TTntForm.DestroyWindowHandle;
begin
  if Win32PlatformIsUnicode then
    UninitializeFlatSB(Handle); { Bug in VCL: Without this there might be a resource leak. }
  inherited;
end;

procedure TTntForm.DefineProperties(Filer: TFiler);
begin
  inherited;
  TntPersistent_AfterInherited_DefineProperties(Filer, Self);
end;

procedure TTntForm.DefaultHandler(var Message);
begin
  if (ClientHandle <> 0)
  and (Win32PlatformIsUnicode) then begin
    with TMessage(Message) do begin
      if (Msg = WM_SIZE) then
        Result := DefWindowProcW(Handle, Msg, wParam, lParam)
      else
        Result := DefFrameProcW(Handle, ClientHandle, Msg, wParam, lParam);
      if (Msg = WM_DESTROY) then
         Perform(TNT_WM_DESTROY, 0, 0); { This ensures that the control is Unsubclassed. }
    end;
  end else
    inherited DefaultHandler(Message);
end;

function TTntForm.IsCaptionStored: Boolean;
begin
  Result := TntControl_IsCaptionStored(Self);
end;

function TTntForm.GetCaption: TWideCaption;
begin
  Result := TntControl_GetText(Self)
end;

procedure TTntForm.SetCaption(const Value: TWideCaption);
begin
  TntControl_SetText(Self, Value)
end;

function TTntForm.IsHintStored: Boolean;
begin
  Result := TntControl_IsHintStored(Self);
end;

function TTntForm.GetHint: WideString;
begin
  Result := TntControl_GetHint(Self)
end;

procedure TTntForm.SetHint(const Value: WideString);
begin
  TntControl_SetHint(Self, Value);
end;

procedure TTntForm.ActionChange(Sender: TObject; CheckDefaults: Boolean);
begin
  TntControl_BeforeInherited_ActionChange(Self, Sender, CheckDefaults);
  inherited;
end;

function TTntForm.GetActionLinkClass: TControlActionLinkClass;
begin
  Result := TntControl_GetActionLinkClass(Self, inherited GetActionLinkClass);
end;

procedure TTntForm.WMMenuSelect(var Message: TWMMenuSelect);
var
  MenuItem: TMenuItem{TNT-ALLOW TMenuItem};
  ID: Integer;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂av老司机| 国产风韵犹存在线视精品| 亚洲免费在线看| 亚洲欧美综合色| 国产精品第一页第二页第三页| 久久久国产一区二区三区四区小说| 欧美变态口味重另类| 精品成人免费观看| xnxx国产精品| 国产精品丝袜久久久久久app| 国产欧美一区二区精品秋霞影院| 久久精品日韩一区二区三区| 国产农村妇女精品| 亚洲欧洲综合另类| 亚洲国产精品一区二区www在线| 亚洲成av人片一区二区三区| 亚洲成人一区二区| 蜜臀精品一区二区三区在线观看| 裸体一区二区三区| 国产91精品一区二区| av网站一区二区三区| 在线看日本不卡| 日韩精品一区二区三区四区| 久久久99免费| 亚洲激情在线播放| 日本中文一区二区三区| 精品综合久久久久久8888| 国产成人午夜片在线观看高清观看| 国产成人精品亚洲777人妖| av在线不卡观看免费观看| 色综合久久中文综合久久牛| 欧美理论电影在线| 精品国产污污免费网站入口 | 亚洲另类色综合网站| 亚洲成人av电影在线| 精一区二区三区| 成人国产电影网| 欧美日本在线播放| 久久综合九色综合97_久久久| 国产精品久久久久久久久晋中| 一区二区免费在线| 激情综合色综合久久| 波多野结衣91| 欧美精品一区二区三区高清aⅴ| 久久久www成人免费毛片麻豆 | 18涩涩午夜精品.www| 日韩福利电影在线| 不卡视频在线观看| 91精品综合久久久久久| 国产欧美一区二区精品忘忧草 | 欧美aaa在线| 成a人片国产精品| 欧美一区二区三区男人的天堂| 国产精品区一区二区三区| 亚洲成a人片综合在线| 国产精品1024| 欧美一区二区女人| 亚洲精品乱码久久久久久日本蜜臀| 国内一区二区在线| 欧美老肥妇做.爰bbww视频| 国产精品欧美一区喷水| 青草国产精品久久久久久| 91麻豆精品在线观看| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲综合图片区| 成人黄色av电影| 欧美videos中文字幕| 一区二区三区精品久久久| 国产福利91精品一区二区三区| 4438x亚洲最大成人网| 亚洲欧美日韩久久| 国产成人在线观看| 精品99一区二区| 视频在线观看国产精品| 91色porny蝌蚪| 国产日韩精品一区二区三区在线| 蜜桃久久精品一区二区| 欧美日韩你懂得| 一区二区三区 在线观看视频| 成人永久免费视频| 2020国产精品| 裸体健美xxxx欧美裸体表演| 欧美裸体bbwbbwbbw| 亚洲精品乱码久久久久久久久| av一区二区三区四区| 中文字幕国产精品一区二区| 久久99精品国产91久久来源| 欧美日韩在线播放一区| 夜夜嗨av一区二区三区中文字幕 | 久久精品亚洲一区二区三区浴池 | 高清成人免费视频| 久久精品综合网| 国产一区二区主播在线| 亚洲精品一区二区三区99 | 欧美一卡二卡在线观看| 亚洲一区二区三区自拍| 日本韩国欧美国产| 亚洲精品视频一区二区| 99久久亚洲一区二区三区青草| 国产精品日产欧美久久久久| 国产成人免费在线观看| 国产色婷婷亚洲99精品小说| 国产美女一区二区| 久久久久久久久97黄色工厂| 国产成人综合在线观看| 国产欧美一区二区精品仙草咪 | 亚洲精品一区二区三区福利| 久久99久久久欧美国产| 欧美精品一区二区不卡 | 777亚洲妇女| 人人狠狠综合久久亚洲| 日韩一区二区三区在线视频| 美女爽到高潮91| 久久久夜色精品亚洲| 日韩成人精品在线观看| av电影天堂一区二区在线| 蜜臀久久99精品久久久画质超高清| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 91污片在线观看| 夜夜夜精品看看| 欧美一区二区三区视频在线观看| 日本欧美大码aⅴ在线播放| 欧美人伦禁忌dvd放荡欲情| 久久久久久久网| 国产精品123| 亚洲婷婷综合久久一本伊一区| 日韩你懂的在线观看| 成人午夜视频在线| 欧美96一区二区免费视频| 国产精品久久久久一区二区三区共| 欧美日本不卡视频| www.日韩精品| 极品少妇xxxx精品少妇| 亚洲综合一区二区精品导航| 久久亚洲一区二区三区四区| 欧美日韩一区二区不卡| 成人精品国产一区二区4080| 日韩精品一二区| 亚洲欧洲av在线| 久久久久久久综合色一本| 欧美日韩一区二区在线视频| 99久久婷婷国产| 精品在线播放免费| 午夜欧美一区二区三区在线播放| 中文字幕精品综合| 2020日本不卡一区二区视频| 欧美酷刑日本凌虐凌虐| av在线播放不卡| 高清国产午夜精品久久久久久| 麻豆freexxxx性91精品| 日韩影院在线观看| 亚洲国产另类av| 亚洲欧美日韩人成在线播放| 中文字幕精品三区| 欧美精品一区二区久久婷婷 | 麻豆精品一区二区av白丝在线 | 日韩一区二区三区视频在线| 在线精品亚洲一区二区不卡| 99久久伊人精品| 成人免费黄色在线| 国产一区二区女| 久久精品国产亚洲a| 丝袜诱惑亚洲看片| 亚洲一区二区三区爽爽爽爽爽| 亚洲天堂免费在线观看视频| 国产欧美一区二区三区在线看蜜臀| 欧美精品一区二区三区蜜桃视频| 7777精品伊人久久久大香线蕉超级流畅 | 日韩三级视频在线看| 欧美日韩视频专区在线播放| 欧美主播一区二区三区美女| 91丨porny丨首页| 北岛玲一区二区三区四区| 处破女av一区二区| 国产福利视频一区二区三区| 国产乱子伦视频一区二区三区| 蜜乳av一区二区| 理论电影国产精品| 老司机免费视频一区二区| 蜜桃在线一区二区三区| 麻豆极品一区二区三区| 久久电影网站中文字幕| 韩国女主播成人在线| 国产一区二区福利| 国产成人鲁色资源国产91色综| 国产成人精品三级| av中文字幕在线不卡| 91猫先生在线| 欧美在线观看18| 91麻豆精品久久久久蜜臀| 欧美一区二区三区成人| 欧美不卡在线视频| 国产日韩欧美精品综合| 国产精品短视频| 一区二区三区四区中文字幕| 亚洲韩国一区二区三区| 亚洲不卡一区二区三区| 七七婷婷婷婷精品国产| 国内精品伊人久久久久av一坑| 国产乱国产乱300精品|