📄 rm_jvjvclutils.hpp
字号:
struct TJvLVItemStateData
{
public:
AnsiString Caption;
void *Data;
bool Focused;
bool Selected;
} ;
#pragma option push -b-
enum TJvHTMLCalcType { htmlShow, htmlCalcWidth, htmlCalcHeight };
#pragma option pop
class DELPHICLASS TJvPicture;
class PASCALIMPLEMENTATION TJvPicture : public Graphics::TPicture
{
typedef Graphics::TPicture inherited;
private:
void __fastcall ReadBitmapData(Classes::TStream* Stream);
protected:
virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
public:
#pragma option push -w-inl
/* TPicture.Create */ inline __fastcall TJvPicture(void) : Graphics::TPicture() { }
#pragma option pop
#pragma option push -w-inl
/* TPicture.Destroy */ inline __fastcall virtual ~TJvPicture(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TOnGetDefaultIniName OnGetDefaultIniName;
extern PACKAGE AnsiString DefCompanyName;
extern PACKAGE bool RegUseAppTitle;
extern PACKAGE TMappingMethod DefaultMappingMethod;
extern PACKAGE unsigned __fastcall GetAppHandle(void);
extern PACKAGE Graphics::TBitmap* __fastcall IconToBitmap(HICON Ico);
extern PACKAGE Graphics::TBitmap* __fastcall IconToBitmap2(HICON Ico, int Size = 0x20, Graphics::TColor TransparentColor = (Graphics::TColor)(0x1fffffff));
extern PACKAGE Graphics::TBitmap* __fastcall IconToBitmap3(HICON Ico, int Size = 0x20, Graphics::TColor TransparentColor = (Graphics::TColor)(0x1fffffff));
extern PACKAGE void __fastcall RGBToHSV(int R, int G, int B, int &H, int &S, int &V);
extern PACKAGE void __fastcall SetWallpaper(const AnsiString Path)/* overload */;
extern PACKAGE void __fastcall SetWallpaper(const AnsiString Path, TJvWallpaperStyle Style)/* overload */;
extern PACKAGE void __fastcall GetRBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetBBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetGBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetMonochromeBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetHueBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetSaturationBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall GetValueBitmap(Graphics::TBitmap* &Dest, const Graphics::TBitmap* Source);
extern PACKAGE void __fastcall HideFormCaption(unsigned FormHandle, bool Hide);
extern PACKAGE void __fastcall LaunchCpl(const AnsiString FileName);
extern PACKAGE void __fastcall ShowSafeRemovalDialog(void);
extern PACKAGE bool __fastcall GetControlPanelApplet(const AnsiString AFileName, Classes::TStrings* Strings, Imglist::TCustomImageList* Images = (Imglist::TCustomImageList*)(0x0));
extern PACKAGE bool __fastcall GetControlPanelApplets(const AnsiString APath, const AnsiString AMask, Classes::TStrings* Strings, Imglist::TCustomImageList* Images = (Imglist::TCustomImageList*)(0x0));
extern PACKAGE void __fastcall CenterHeight(const Controls::TControl* pc, const Controls::TControl* pcParent);
extern PACKAGE int __fastcall ToRightOf(const Controls::TControl* pc, int piSpace = 0x0);
extern PACKAGE Comctrls::TItemStates __fastcall ConvertStates(const int State);
extern PACKAGE bool __fastcall ChangeHasSelect(const Comctrls::TItemStates peOld, const Comctrls::TItemStates peNew);
extern PACKAGE bool __fastcall ChangeHasDeselect(const Comctrls::TItemStates peOld, const Comctrls::TItemStates peNew);
extern PACKAGE bool __fastcall ChangeHasFocus(const Comctrls::TItemStates peOld, const Comctrls::TItemStates peNew);
extern PACKAGE bool __fastcall ChangeHasDefocus(const Comctrls::TItemStates peOld, const Comctrls::TItemStates peNew);
extern PACKAGE AnsiString __fastcall GetListItemColumn(const Comctrls::TListItem* pcItem, int piIndex);
extern PACKAGE void __fastcall CopyParentImage(Controls::TControl* Control, Graphics::TCanvas* Dest);
extern PACKAGE Graphics::TBitmap* __fastcall MakeModuleBitmap(unsigned Module, char * ResID);
extern PACKAGE Graphics::TBitmap* __fastcall MakeBitmap(char * ResID);
extern PACKAGE Graphics::TBitmap* __fastcall MakeBitmapID(Word ResID);
extern PACKAGE void __fastcall AssignBitmapCell(Graphics::TGraphic* Source, Graphics::TBitmap* Dest, int Cols, int Rows, int Index);
extern PACKAGE void __fastcall StretchBltTransparent(HDC DstDC, int DstX, int DstY, int DstW, int DstH, HDC SrcDC, int SrcX, int SrcY, int SrcW, int Srch, HPALETTE Palette, unsigned TransparentColor);
extern PACKAGE void __fastcall DrawTransparentBitmap(HDC DC, HBITMAP Bitmap, int DstX, int DstY, unsigned TransparentColor);
extern PACKAGE void __fastcall StretchBitmapRectTransparent(Graphics::TCanvas* Dest, int DstX, int DstY, int DstW, int DstH, const Types::TRect &SrcRect, Graphics::TBitmap* Bitmap, Graphics::TColor TransparentColor);
extern PACKAGE void __fastcall DrawBitmapRectTransparent(Graphics::TCanvas* Dest, int DstX, int DstY, const Types::TRect &SrcRect, Graphics::TBitmap* Bitmap, Graphics::TColor TransparentColor);
extern PACKAGE void __fastcall DrawBitmapTransparent(Graphics::TCanvas* Dest, int DstX, int DstY, Graphics::TBitmap* Bitmap, Graphics::TColor TransparentColor);
extern PACKAGE Graphics::TBitmap* __fastcall CreateDisabledBitmap_NewStyle(Graphics::TBitmap* FOriginal, Graphics::TColor BackColor);
extern PACKAGE Graphics::TBitmap* __fastcall CreateDisabledBitmapEx(Graphics::TBitmap* FOriginal, Graphics::TColor OutlineColor, Graphics::TColor BackColor, Graphics::TColor HighLightColor, Graphics::TColor ShadowColor, bool DrawHighlight);
extern PACKAGE Graphics::TBitmap* __fastcall CreateDisabledBitmap(Graphics::TBitmap* FOriginal, Graphics::TColor OutlineColor);
extern PACKAGE Graphics::TBitmap* __fastcall ChangeBitmapColor(Graphics::TBitmap* Bitmap, Graphics::TColor Color, Graphics::TColor NewColor);
extern PACKAGE void __fastcall ImageListDrawDisabled(Imglist::TCustomImageList* Images, Graphics::TCanvas* Canvas, int X, int Y, int Index, Graphics::TColor HighLightColor, Graphics::TColor GrayColor, bool DrawHighlight);
extern PACKAGE Graphics::TBitmap* __fastcall CreateTwoColorsBrushPattern(Graphics::TColor Color1, Graphics::TColor Color2);
extern PACKAGE Graphics::TIcon* __fastcall MakeIcon(char * ResID);
extern PACKAGE Graphics::TIcon* __fastcall MakeIconID(Word ResID);
extern PACKAGE Graphics::TIcon* __fastcall MakeModuleIcon(unsigned Module, char * ResID);
extern PACKAGE Graphics::TBitmap* __fastcall CreateBitmapFromIcon(Graphics::TIcon* Icon, Graphics::TColor BackColor);
extern PACKAGE Graphics::TIcon* __fastcall CreateIconFromBitmap(Graphics::TBitmap* Bitmap, Graphics::TColor TransparentColor);
extern PACKAGE void __fastcall PaintInverseRect(const Types::TPoint &RectOrg, const Types::TPoint &RectEnd);
extern PACKAGE void __fastcall DrawInvertFrame(const Types::TRect &ScreenRect, int Width);
extern PACKAGE bool __fastcall PointInPolyRgn(const Types::TPoint &P, Types::TPoint const * Points, const int Points_Size);
extern PACKAGE int __fastcall PaletteColor(Graphics::TColor Color);
extern PACKAGE HFONT __fastcall CreateRotatedFont(Graphics::TFont* Font, int Angle);
extern PACKAGE int __fastcall PaletteEntries(HPALETTE Palette);
extern PACKAGE void __fastcall Delay(__int64 MSecs);
extern PACKAGE __int64 __fastcall GetTickCount64(void);
extern PACKAGE void __fastcall CenterControl(Controls::TControl* Control);
extern PACKAGE void __fastcall MergeForm(Controls::TWinControl* AControl, Forms::TForm* AForm, Controls::TAlign Align, bool Show);
extern PACKAGE void __fastcall ShowMDIClientEdge(unsigned ClientHandle, bool ShowEdge);
extern PACKAGE void __fastcall ShadeRect(HDC DC, const Types::TRect &Rect);
extern PACKAGE Types::TRect __fastcall ScreenWorkArea();
extern PACKAGE int __fastcall MsgBox(const AnsiString Caption, const AnsiString Text, int Flags)/* overload */;
extern PACKAGE Word __fastcall MsgDlg(const AnsiString Msg, Dialogs::TMsgDlgType AType, Dialogs::TMsgDlgButtons AButtons, int HelpCtx);
extern PACKAGE int __fastcall MsgBox(unsigned Handle, const AnsiString Caption, const AnsiString Text, int Flags)/* overload */;
extern PACKAGE void __fastcall GradientFillRect(Graphics::TCanvas* Canvas, const Types::TRect &ARect, Graphics::TColor StartColor, Graphics::TColor EndColor, TFillDirection Direction, Byte Colors);
extern PACKAGE Types::TPoint __fastcall GetAveCharSize(Graphics::TCanvas* Canvas);
extern PACKAGE HICON __fastcall LoadAniCursor(unsigned Instance, char * ResID);
extern PACKAGE int __fastcall GetNextFreeCursorIndex(int StartHint, bool PreDefined);
extern PACKAGE Controls::TCursor __fastcall DefineCursor(unsigned Instance, char * ResID);
extern PACKAGE void __fastcall StartWait(void);
extern PACKAGE void __fastcall StopWait(void);
extern PACKAGE System::_di_IInterface __fastcall WaitCursor();
extern PACKAGE System::_di_IInterface __fastcall ScreenCursor(Controls::TCursor ACursor);
extern PACKAGE bool __fastcall LoadOLEDragCursors(void);
extern PACKAGE void __fastcall SetDefaultJVCLCursors(void);
extern PACKAGE void __fastcall WriteText(Graphics::TCanvas* ACanvas, const Types::TRect &ARect, int DX, int DY, const AnsiString Text, Classes::TAlignment Alignment, bool WordWrap, bool ARightToLeft = false);
extern PACKAGE void __fastcall DrawCellTextEx(Controls::TCustomControl* Control, int ACol, int ARow, const AnsiString S, const Types::TRect &ARect, Classes::TAlignment Align, TVertAlignment VertAlign, bool WordWrap, bool ARightToLeft)/* overload */;
extern PACKAGE void __fastcall DrawCellText(Controls::TCustomControl* Control, int ACol, int ARow, const AnsiString S, const Types::TRect &ARect, Classes::TAlignment Align, TVertAlignment VertAlign, bool ARightToLeft)/* overload */;
extern PACKAGE void __fastcall DrawCellTextEx(Controls::TCustomControl* Control, int ACol, int ARow, const AnsiString S, const Types::TRect &ARect, Classes::TAlignment Align, TVertAlignment VertAlign, bool WordWrap)/* overload */;
extern PACKAGE void __fastcall DrawCellText(Controls::TCustomControl* Control, int ACol, int ARow, const AnsiString S, const Types::TRect &ARect, Classes::TAlignment Align, TVertAlignment VertAlign)/* overload */;
extern PACKAGE void __fastcall DrawCellBitmap(Controls::TCustomControl* Control, int ACol, int ARow, Graphics::TGraphic* Bmp, const Types::TRect &Rect);
extern PACKAGE Classes::TComponent* __fastcall FindByTag(Controls::TWinControl* WinControl, TMetaClass* ComponentClass, const int Tag);
extern PACKAGE Controls::TControl* __fastcall ControlAtPos2(Controls::TWinControl* Parent, int X, int Y);
extern PACKAGE int __fastcall RBTag(Controls::TWinControl* Parent);
extern PACKAGE Forms::TForm* __fastcall FindFormByClass(TMetaClass* FormClass);
extern PACKAGE Forms::TForm* __fastcall FindFormByClassName(const AnsiString FormClassName);
extern PACKAGE bool __fastcall AppMinimized(void);
extern PACKAGE bool __fastcall IsForegroundTask(void);
extern PACKAGE int __fastcall MessageBox(const AnsiString Msg, const AnsiString Caption, const int Flags);
extern PACKAGE int __fastcall MsgDlgDef(const AnsiString Msg, const AnsiString ACaption, Dialogs::TMsgDlgType DlgType, Dialogs::TMsgDlgButtons Buttons, Dialogs::TMsgDlgBtn DefButton, int HelpContext, Controls::TWinControl* Control);
extern PACKAGE int __fastcall MsgDlg2(const AnsiString Msg, const AnsiString ACaption, Dialogs::TMsgDlgType DlgType, Dialogs::TMsgDlgButtons Buttons, int HelpContext, Controls::TWinControl* Control);
extern PACKAGE bool __fastcall MsgYesNo(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE bool __fastcall MsgRetryCancel(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE int __fastcall MsgAbortRetryIgnore(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE int __fastcall MsgYesNoCancel(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE bool __fastcall MsgOKCancel(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgOK(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgInfo(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgWarn(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgQuestion(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgError(int Handle, const AnsiString Msg, const AnsiString Caption, unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall MsgAbout(int Handle, const AnsiString Msg, const AnsiString Caption, const AnsiString IcoName = "MAINICON", unsigned Flags = (unsigned)(0x0));
extern PACKAGE void __fastcall LoadIcoToImage(Imglist::TCustomImageList* ALarge, Imglist::TCustomImageList* ASmall, const AnsiString NameRes);
extern PACKAGE bool __fastcall DualInputQuery(const AnsiString ACaption, const AnsiString Prompt1, const AnsiString Prompt2, AnsiString &AValue1, AnsiString &AValue2, char PasswordChar = '\x0');
extern PACKAGE bool __fastcall InputQueryPassword(const AnsiString ACaption, const AnsiString APrompt, char PasswordChar, AnsiString &Value);
extern PACKAGE void __fastcall CenterHor(Controls::TControl* Parent, int MinLeft, Controls::TControl* * Controls, const int Controls_Size);
extern PACKAGE void __fastcall EnableControls(Controls::TWinControl* Control, const bool Enable);
extern PACKAGE void __fastcall EnableMenuItems(Menus::TMenuItem* MenuItem, const int Tag, const bool Enable);
extern PACKAGE void __fastcall ExpandWidth(Controls::TControl* Parent, int MinWidth, Controls::TControl* * Controls, const int Controls_Size);
extern PACKAGE int __fastcall PanelBorder(Extctrls::TCustomPanel* Panel);
extern PACKAGE int __fastcall Pixels(Controls::TControl* Control, int APixels);
extern PACKAGE void __fastcall ShowMenu(Forms::TForm* Form, TMenuAnimation MenuAni);
extern PACKAGE AnsiString __fastcall TargetFileName(const AnsiString FileName);
extern PACKAGE HRESULT __fastcall ResolveLink(const unsigned HWND, const AnsiString LinkFile, AnsiString &FileName);
extern PACKAGE void __fastcall ExecAfterPause(TProcObj Proc, int Pause);
extern PACKAGE AnsiString __fastcall GetDefaultSection(Classes::TComponent* Component);
extern PACKAGE AnsiString __fastcall GetDefaultIniName();
extern PACKAGE AnsiString __fastcall GetDefaultIniRegKey();
extern PACKAGE Forms::TForm* __fastcall FindForm(TMetaClass* FormClass);
extern PACKAGE Forms::TForm* __fastcall FindShowForm(TMetaClass* FormClass, const AnsiString Caption);
extern PACKAGE bool __fastcall ShowDialog(TMetaClass* FormClass);
extern PACKAGE Forms::TForm* __fastcall InstantiateForm(TMetaClass* FormClass, void *Reference);
extern PACKAGE AnsiString __fastcall StrToIniStr(const AnsiString Str);
extern PACKAGE AnsiString __fastcall IniStrToStr(const AnsiString Str);
extern PACKAGE void __fastcall AppBroadcast(int Msg, int wParam, int lParam);
extern PACKAGE void __fastcall AppTaskbarIcons(bool AppOnly);
extern PACKAGE Graphics::TPixelFormat __fastcall ScreenPixelFormat(void);
extern PACKAGE int __fastcall ScreenColorCount(void);
extern PACKAGE Graphics::TPixelFormat __fastcall GetPaletteBitmapFormat(Graphics::TBitmap* Bitmap);
extern PACKAGE Graphics::TPixelFormat __fastcall GetBitmapPixelFormat(Graphics::TBitmap* Bitmap);
extern PACKAGE Classes::TMemoryStream* __fastcall BitmapToMemoryStream(Graphics::TBitmap* Bitmap, Graphics::TPixelFormat PixelFormat, TMappingMethod Method);
extern PACKAGE Classes::TStream* __fastcall BitmapToMemory(Graphics::TBitmap* Bitmap, int Colors);
extern PACKAGE void __fastcall SaveBitmapToFile(const AnsiString FileName, Graphics::TBitmap* Bitmap, int Colors);
extern PACKAGE void __fastcall SetBitmapPixelFormat(Graphics::TBitmap* Bitmap, Graphics::TPixelFormat PixelFormat, TMappingMethod Method);
extern PACKAGE void __fastcall GrayscaleBitmap(Graphics::TBitmap* Bitmap);
extern PACKAGE Types::TPoint __fastcall ZoomImage(int ImageW, int ImageH, int MaxW, int MaxH, bool Stretch);
extern PACKAGE void __fastcall TileImage(Graphics::TCanvas* Canvas, const Types::TRect &Rect, Graphics::TGraphic* Image);
extern PACKAGE void __fastcall JvCreateToolBarMenu(Forms::TForm* AForm, Comctrls::TToolBar* AToolBar, Menus::TMainMenu* AMenu = (Menus::TMainMenu*)(0x0));
extern PACKAGE void __fastcall JvListViewToStrings(Comctrls::TListView* ListView, Classes::TStrings* Strings, bool SelectedOnly = false, bool Headers = true);
extern PACKAGE AnsiString __fastcall JvListViewSafeSubItemString(Comctrls::TListItem* Item, int SubItemIndex);
extern PACKAGE void __fastcall JvListViewSortClick(Comctrls::TListColumn* Column, int AscendingSortImage = 0xffffffff, int DescendingSortImage = 0xffffffff);
extern PACKAGE void __fastcall JvListViewCompare(Comctrls::TListView* ListView, Comctrls::TListItem* Item1, Comctrls::TListItem* Item2, int &Compare);
extern PACKAGE void __fastcall JvListViewSelectAll(Comctrls::TListView* ListView, bool Deselect = false);
extern PACKAGE TJvLVItemStateData __fastcall JvListViewSaveState(Comctrls::TListView* ListView);
extern PACKAGE bool __fastcall JvListViewRestoreState(Comctrls::TListView* ListView, const TJvLVItemStateData &Data, bool MakeVisible = true, bool FocusFirst = false);
extern PACKAGE int __fastcall JvListViewGetOrderedColumnIndex(Comctrls::TListColumn* Column);
extern PACKAGE void __fastcall JvListViewSetSystemImageList(Comctrls::TListView* ListView);
extern PACKAGE int __fastcall JvMessageBox(const AnsiString Text, const AnsiString Caption, unsigned Flags)/* overload */;
extern PACKAGE int __fastcall JvMessageBox(const AnsiString Text, unsigned Flags)/* overload */;
extern PACKAGE void __fastcall UpdateTrackFont(Graphics::TFont* TrackFont, Graphics::TFont* Font, Rm_jvtypes::TJvTrackFontOptions TrackOptions);
extern PACKAGE tagSIZE __fastcall GetDefaultCheckBoxSize();
extern PACKAGE int __fastcall CanvasMaxTextHeight(Graphics::TCanvas* Canvas);
extern PACKAGE unsigned __fastcall AllocateHWndEx(Classes::TWndMethod Method, const AnsiString AClassName = "");
extern PACKAGE void __fastcall DeallocateHWndEx(unsigned Wnd);
extern PACKAGE void * __fastcall JvMakeObjectInstance(Classes::TWndMethod Method);
extern PACKAGE void __fastcall JvFreeObjectInstance(void * ObjectInstance);
extern PACKAGE AnsiString __fastcall FontStylesToString(Graphics::TFontStyles Styles);
extern PACKAGE Graphics::TFontStyles __fastcall StringToFontStyles(const AnsiString Styles);
extern PACKAGE AnsiString __fastcall FontToString(Graphics::TFont* Font);
extern PACKAGE Graphics::TFont* __fastcall StringToFont(const AnsiString Str);
extern PACKAGE AnsiString __fastcall RectToStr(const Types::TRect &Rect);
extern PACKAGE Types::TRect __fastcall StrToRect(const AnsiString Str, const Types::TRect &Def);
extern PACKAGE AnsiString __fastcall PointToStr(const Types::TPoint &P);
extern PACKAGE Types::TPoint __fastcall StrToPoint(const AnsiString Str, const Types::TPoint &Def);
extern PACKAGE void __fastcall DrawArrow(Graphics::TCanvas* Canvas, const Types::TRect &Rect, Graphics::TColor Color = (Graphics::TColor)(0x0), Controls::TAnchorKind Direction = (Controls::TAnchorKind)(0x3));
extern PACKAGE bool __fastcall IsPositiveResult(Controls::TModalResult Value);
extern PACKAGE bool __fastcall IsNegativeResult(Controls::TModalResult Value);
extern PACKAGE bool __fastcall IsAbortResult(const Controls::TModalResult Value);
extern PACKAGE Controls::TModalResult __fastcall StripAllFromResult(const Controls::TModalResult Value);
extern PACKAGE Graphics::TColor __fastcall SelectColorByLuminance(Graphics::TColor AColor, Graphics::TColor DarkColor, Graphics::TColor BrightColor);
extern PACKAGE AnsiString __fastcall HTMLPrepareText(const AnsiString Text);
extern PACKAGE void __fastcall HTMLDrawTextEx(Graphics::TCanvas* Canvas, const Types::TRect &Rect, const Windows::TOwnerDrawState State, const AnsiString Text, int &Width, TJvHTMLCalcType CalcType, int MouseX, int MouseY, bool &MouseOnLink, AnsiString &LinkName, int Scale = 0x64);
extern PACKAGE AnsiString __fastcall HTMLDrawText(Graphics::TCanvas* Canvas, const Types::TRect &Rect, const Windows::TOwnerDrawState State, const AnsiString Text, int Scale = 0x64);
extern PACKAGE AnsiString __fastcall HTMLPlainText(const AnsiString Text);
extern PACKAGE int __fastcall HTMLTextWidth(Graphics::TCanvas* Canvas, const Types::TRect &Rect, const Windows::TOwnerDrawState State, const AnsiString Text, int Scale = 0x64);
extern PACKAGE int __fastcall HTMLTextHeight(Graphics::TCanvas* Canvas, const AnsiString Text, int Scale = 0x64);
} /* namespace Rm_jvjvclutils */
using namespace Rm_jvjvclutils;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Rm_jvjvclutils
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -