📄 jvqcomputerinfoex.pas
字号:
property ScreenClientWidth: Integer index SM_CXFULLSCREEN read GetMetrics write SetMetrics stored False;
property ScreenClientHeight: Integer index SM_CYFULLSCREEN read GetMetrics write SetMetrics stored False;
property ScreenWidth: Integer index SM_CXSCREEN read GetMetrics write SetMetrics stored False;
property ScreenHeight: Integer index SM_CYSCREEN read GetMetrics write SetMetrics stored False;
property ScrollArrowWidth: Integer index SM_CXHSCROLL read GetMetrics write SetMetrics stored False;
property ScrollArrowHeight: Integer index SM_CYHSCROLL read GetMetrics write SetMetrics stored False;
property ScrollThumbWidth: Integer index SM_CXHTHUMB read GetMetrics write SetMetrics stored False;
property ScrollThumbHeight: Integer index SM_CYVTHUMB read GetMetrics write SetMetrics stored False;
property ScrollWidth: Integer index SM_CXVSCROLL read GetMetrics write SetMetrics stored False;
property ScrollHeight: Integer index SM_CYVSCROLL read GetMetrics write SetMetrics stored False;
property IconWidth: Integer index SM_CXICON read GetMetrics write SetMetrics stored False;
property IconHeight: Integer index SM_CYICON read GetMetrics write SetMetrics stored False;
property SmallIconWidth: Integer index SM_CXSMICON read GetMetrics write SetMetrics stored False;
property SmallIconHeight: Integer index SM_CYSMICON read GetMetrics write SetMetrics stored False;
property IconSpacingWidth: Integer index SM_CXICONSPACING read GetMetrics write SetMetrics stored False;
property IconSpacingHeight: Integer index SM_CYICONSPACING read GetMetrics write SetMetrics stored False;
property MaximizedWindowWidth: Integer index SM_CXMAXIMIZED read GetMetrics write SetMetrics stored False;
property MaximizedWindowHeight: Integer index SM_CYMAXIMIZED read GetMetrics write SetMetrics stored False;
property MinimizedWindowWidth: Integer index SM_CXMINIMIZED read GetMetrics write SetMetrics stored False;
property MinimizedWindowHeight: Integer index SM_CYMINIMIZED read GetMetrics write SetMetrics stored False;
property MaxDragWindowWidth: Integer index SM_CXMAXTRACK read GetMetrics write SetMetrics stored False;
property MaxDragWindowHeight: Integer index SM_CYMAXTRACK read GetMetrics write SetMetrics stored False;
property MinDragWindowWidth: Integer index SM_CXMINTRACK read GetMetrics write SetMetrics stored False;
property MinDragWindowHeight: Integer index SM_CYMINTRACK read GetMetrics write SetMetrics stored False;
property MinWindowWidth: Integer index SM_CXMIN read GetMetrics write SetMetrics stored False;
property MinWindowHeight: Integer index SM_CYMIN read GetMetrics write SetMetrics stored False;
property MenuCheckWidth: Integer index SM_CXMENUCHECK read GetMetrics write SetMetrics stored False;
property MenuCheckHeight: Integer index SM_CYMENUCHECK read GetMetrics write SetMetrics stored False;
property MenuButtonWidth: Integer index SM_CXMENUSIZE read GetMetrics write SetMetrics stored False;
property MenuButtonHeight: Integer index SM_CYMENUSIZE read GetMetrics write SetMetrics stored False;
property MinimizedWindowSpacingWidth: Integer index SM_CXMINSPACING read GetMetrics write SetMetrics stored False;
property MinimizedWindowSpacingHeight: Integer index SM_CYMINSPACING read GetMetrics write SetMetrics stored False;
property CaptionButtonWidth: Integer index SM_CXSIZE read GetMetrics write SetMetrics stored False;
property CaptionButtonheight: Integer index SM_CYSIZE read GetMetrics write SetMetrics stored False;
property ResizeBorderWidth: Integer index SM_CXSIZEFRAME read GetMetrics write SetMetrics stored False;
property ResizeBorderHeight: Integer index SM_CYSIZEFRAME read GetMetrics write SetMetrics stored False;
property SmallCaptionButtonWidth: Integer index SM_CXSMSIZE read GetMetrics write SetMetrics stored False;
property SmallCaptionButtonHeight: Integer index SM_CYSMSIZE read GetMetrics write SetMetrics stored False;
property WindowCaptionHeight: Integer index SM_CYCAPTION read GetMetrics write SetMetrics stored False;
property SmallWindowCaptionHeight: Integer index SM_CYSMCAPTION read GetMetrics write SetMetrics stored False;
property KanjiWindowHeight: Integer index SM_CYKANJIWINDOW read GetMetrics write SetMetrics stored False;
property MenuItemHeight: Integer index SM_CYMENU read GetMetrics write SetMetrics stored False;
property DBCSEnabled: Boolean index SM_DBCSENABLED read GetBoolMetrics write SetBoolMetrics stored False;
property Debug: Boolean index SM_DEBUG read GetBoolMetrics write SetBoolMetrics stored False;
property MenuRightAligned: Boolean index SM_MENUDROPALIGNMENT read GetBoolMetrics write SetBoolMetrics stored False;
property MidEastEnabled: Boolean index SM_MIDEASTENABLED read GetBoolMetrics write SetBoolMetrics stored False;
property MousePresent: Boolean index SM_MOUSEPRESENT read GetBoolMetrics write SetBoolMetrics stored False;
property MouseWheelPresent: Boolean index SM_MOUSEWHEELPRESENT read GetBoolMetrics write SetBoolMetrics stored False;
property Networked: Boolean index SM_NETWORK read GetBoolMetrics write SetBoolMetrics stored False;
property PenWindows: Boolean index SM_PENWINDOWS read GetBoolMetrics write SetBoolMetrics stored False;
property Secure: Boolean index SM_SECURE read GetBoolMetrics write SetBoolMetrics stored False;
property ShowSounds: Boolean index SM_SHOWSOUNDS read GetBoolMetrics write SetBoolMetrics stored False;
property SlowMachine: Boolean index SM_SLOWMACHINE read GetBoolMetrics write SetBoolMetrics stored False;
property MouseButtonsSwapped: Boolean index SM_SWAPBUTTON read GetBoolMetrics write SetBoolMetrics stored False;
end;
TJvAccessTimeOutFlags = set of (atfOnOffFeedback, atfTimeOutOn);
TJvAccessTimeOut = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
function GetFlags: TJvAccessTimeOutFlags;
function GetNativeType: ACCESSTIMEOUT;
function GetTimeOutMS: DWORD;
procedure SetFlags(const Value: TJvAccessTimeOutFlags);
procedure SetTimeOutMS(const Value: DWORD);
procedure SetNativeType(Value: ACCESSTIMEOUT);
public
property NativeType: ACCESSTIMEOUT read GetNativeType write SetNativeType;
published
property TimeOutMS: DWORD read GetTimeOutMS write SetTimeOutMS stored False;
property Flags: TJvAccessTimeOutFlags read GetFlags write SetFlags stored False;
end;
TJvFilterKeyFlags = set of (fkfAvailable, fkfClickOn, fkfFilterKeysOn, fkfHotKeyActive,
fkfHotkeySound, fkfConfirmHotKey, fkfIndicator);
TJvFilterKeys = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
function GetBounceMSec: DWORD;
function GetDelayMSec: DWORD;
function GetFlags: TJvFilterKeyFlags;
function GetNativeType: FILTERKEYS;
function GetRepeatMSec: DWORD;
function GetWaitMSec: DWORD;
procedure SetBounceMSec(const Value: DWORD);
procedure SetDelayMSec(const Value: DWORD);
procedure SetFlags(const Value: TJvFilterKeyFlags);
procedure SetNativeType(Value: FILTERKEYS);
procedure SetRepeatMSec(const Value: DWORD);
procedure SetWaitMSec(const Value: DWORD);
public
property NativeType: FILTERKEYS read GetNativeType write SetNativeType;
published
property Flags: TJvFilterKeyFlags read GetFlags write SetFlags stored False;
property WaitMSec: DWORD read GetWaitMSec write SetWaitMSec stored False;
property DelayMSec: DWORD read GetDelayMSec write SetDelayMSec stored False;
property RepeatMSec: DWORD read GetRepeatMSec write SetRepeatMSec stored False;
property BounceMSec: DWORD read GetBounceMSec write SetBounceMSec stored False;
end;
TJvHighContrastFlags = set of (hcfAvailable, hcfConfirmHotKey, hcfHighContrastOn,
hcfHotkeyActive, hcfHotkeyAvailable, hcfHotkeySound, hcfIndicator);
TJvHighContrast = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
function GetDefaultScheme: string;
function GetFlags: TJvHighContrastFlags;
function GetNativeType: HIGHCONTRAST;
procedure SetDefaultScheme(const Value: string);
procedure SetFlags(const Value: TJvHighContrastFlags);
procedure SetNativeType(Value: HIGHCONTRAST);
public
property NativeType: HIGHCONTRAST read GetNativeType write SetNativeType;
published
property Flags: TJvHighContrastFlags read GetFlags write SetFlags stored False;
property DefaultScheme: string read GetDefaultScheme write SetDefaultScheme stored False;
end;
TJvIconMetrics = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
FFont: TFont;
function GetFont: TFont;
function GetHorzSpacing: Integer;
function GetNativeType: ICONMETRICS;
function GetTitleWrap: Boolean;
function GetVertSpacing: Integer;
procedure SetFont(const Value: TFont);
procedure SetHorzSpacing(const Value: Integer);
procedure SetNativeType(Value: ICONMETRICS);
procedure SetTitleWrap(const Value: Boolean);
procedure SetVertSpacing(const Value: Integer);
public
destructor Destroy; override;
property NativeType: ICONMETRICS read GetNativeType write SetNativeType;
published
property VertSpacing: Integer read GetVertSpacing write SetVertSpacing stored False;
property HorzSpacing: Integer read GetHorzSpacing write SetHorzSpacing stored False;
property TitleWrap: Boolean read GetTitleWrap write SetTitleWrap stored False;
property Font: TFont read GetFont write SetFont stored False;
end;
TJvMinimizedMetrics = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
function GetArrange: TJvWindowsArrange;
function GetHorzGap: Integer;
function GetNativeType: MINIMIZEDMETRICS;
function GetVertGap: Integer;
function GetWidth: Integer;
procedure SetArrange(const Value: TJvWindowsArrange);
procedure SetHorzGap(const Value: Integer);
procedure SetNativeType(Value: MINIMIZEDMETRICS);
procedure SetVertGap(const Value: Integer);
procedure SetWidth(const Value: Integer);
public
property NativeType: MINIMIZEDMETRICS read GetNativeType write SetNativeType;
published
property Width: Integer read GetWidth write SetWidth stored False;
property HorzGap: Integer read GetHorzGap write SetHorzGap stored False;
property VertGap: Integer read GetVertGap write SetVertGap stored False;
property Arrange: TJvWindowsArrange read GetArrange write SetArrange stored False;
end;
TJvMouseKeysFlags = set of (mkfAvailable, mkfConfirmHotKey, mkfHotkeyActive, mkfHotkeySound, mkfIndicator,
mkfMouseKeysOn, mkfModifiers, mkfReplaceNumbers);
TJvMouseKeys = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
function GetCtrlSpeed: DWORD;
function GetFlags: TJvMouseKeysFlags;
function GetMaxSpeed: DWORD;
function GetNativeType: MOUSEKEYS;
function GetTimeToMaxSpeed: DWORD;
procedure SetCtrlSpeed(const Value: DWORD);
procedure SetFlags(const Value: TJvMouseKeysFlags);
procedure SetMaxSpeed(const Value: DWORD);
procedure SetNativeType(Value: MOUSEKEYS);
procedure SetTimeToMaxSpeed(const Value: DWORD);
public
property NativeType: MOUSEKEYS read GetNativeType write SetNativeType;
published
property Flags: TJvMouseKeysFlags read GetFlags write SetFlags stored False;
property MaxSpeed: DWORD read GetMaxSpeed write SetMaxSpeed stored False;
property TimeToMaxSpeed: DWORD read GetTimeToMaxSpeed write SetTimeToMaxSpeed stored False;
property CtrlSpeed: DWORD read GetCtrlSpeed write SetCtrlSpeed stored False;
end;
TJvNonClientMetrics = class(TJvWriteableInfo)
// writeable: all (using NativeType recommended)
private
FCaptionFont: TFont;
FMenuFont: TFont;
FMessageFont: TFont;
FStatusFont: TFont;
FSmallCaptionFont: TFont;
function GetBorderWidth: Integer;
function GetCaptionFont: TFont;
function GetCaptionHeight: Integer;
function GetCaptionWidth: Integer;
function GetMenuFont: TFont;
function GetMenuHeight: Integer;
function GetMenuWidth: Integer;
function GetMessageFont: TFont;
function GetNativeType: NONCLIENTMETRICS;
function GetScrollHeight: Integer;
function GetScrollWidth: Integer;
function GetSmallCaptionFont: TFont;
function GetSmallCaptionHeight: Integer;
function GetSmallCaptionWidth: Integer;
function GetStatusFont: TFont;
procedure SetBorderWidth(const Value: Integer);
procedure SetCaptionFont(const Value: TFont);
procedure SetCaptionHeight(const Value: Integer);
procedure SetCaptionWidth(const Value: Integer);
procedure SetMenuFont(const Value: TFont);
procedure SetMenuHeight(const Value: Integer);
procedure SetMenuWidth(const Value: Integer);
procedure SetMessageFont(const Value: TFont);
procedure SetNativeType(Value: NONCLIENTMETRICS);
procedure SetScrollHeight(const Value: Integer);
procedure SetScrollWidth(const Value: Integer);
procedure SetSmallCaptionFont(const Value: TFont);
procedure SetSmallCaptionHeight(const Value: Integer);
procedure SetSmallCaptionWidth(const Value: Integer);
procedure SetStatusFont(const Value: TFont);
public
property NativeType: NONCLIENTMETRICS read GetNativeType write SetNativeType;
destructor Destroy; override;
published
property BorderWidth: Integer read GetBorderWidth write SetBorderWidth stored False;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -