Enumerations and sets
TEllipsisPositionuMlSkinIntf.pas
TEllipsisPosition = (epNone, epPathEllipsis, epEndEllipsis, epWordEllipsis);
Where the ellipsis goes when text does not fit. It maps onto the Windows DrawText ellipsis flags (the constant array MlEllipsis in the same unit does the mapping).
| Value / member | Description |
|---|
epNone | No ellipsis; overflowing text is clipped. |
epPathEllipsis | Ellipsis in the middle, keeping the start and the end — good for file paths (DT_PATH_ELLIPSIS). |
epEndEllipsis | Ellipsis at the end (DT_END_ELLIPSIS). |
epWordEllipsis | Cut at a whole word, then add the ellipsis (DT_WORD_ELLIPSIS). |
Used byEllipsisPositionTMlSkinLabel TMlSkinNCLabel TMlURLButton
TGradientDirectionuMlSkinIntf.pas
TGradientDirection = (gdHorizontal, gdVertical);
Gradient direction.
| Value / member | Description |
|---|
gdHorizontal | Horizontal: the color changes from left to right. |
gdVertical | Vertical: the color changes from top to bottom. |
Used byGradientDirectionTMlSkinBorderPanel TMlSkinColorComboBox TMlSkinComboBox TMlSkinGroupControls TMlSkinListBox TMlSkinMemoEx and 8 controls in all
TGradientAlignuMlSkinIntf.pas
TGradientAlign = (gaCenter, gaLeft, gaRight);
Where the gradient starts. Used together with GradientSize (the gradient length as a percentage of the control). uMlSkinLine.pas declares a type with the same name and values for TMlSkinLine.
| Value / member | Description |
|---|
gaCenter | Symmetric, from the middle out to both ends. |
gaLeft | Starts at the left end (the top when vertical). |
gaRight | Starts at the right end (the bottom when vertical). |
Used byGradientAlignTMlSkinBorderPanel TMlSkinColorComboBox TMlSkinComboBox TMlSkinGroupControls TMlSkinLine TMlSkinListBox and 9 controls in all
TMlTextKinduMlSkinIntf.pas
TMlTextKind = (tkAll, tkEN, tkNumInt, tkNumReal, tkENandNum);
What an edit accepts. Disallowed characters are filtered out as they are typed.
| Value / member | Description |
|---|
tkAll | Anything. |
tkEN | Latin letters only. |
tkNumInt | Integers only. |
tkNumReal | Numbers, with decimal point and minus sign. |
tkENandNum | Letters and digits. |
Used byTextKindTMlSkinDatetimePicker TMlSkinEdit TMlSkinNCEdit
TMlSwitchButtonCaptionAlignuMlSkinIntf.pas
TMlSwitchButtonCaptionAlign = (sbcaLeft, sbcaRigth);
Which side of the switch the caption goes. Note that the right-hand value is spelled sbcaRigth in the source (kept for compatibility with existing .dfm files).
| Value / member | Description |
|---|
sbcaLeft | Caption on the left of the switch. |
sbcaRigth | Caption on the right of the switch. |
Used byCaptionAlignTMlSkinSwitchButton
TMlAboutInfouMlSkinIntf.pas
TMlAboutInfo = (aiMlSkinComponent);
Exists only for the About property in the Object Inspector — double-click it to open the MLSkin about box. It has a single value, is not stored in the .dfm and is never needed in code.
| Value / member | Description |
|---|
aiMlSkinComponent | The only value. |
Used byAboutTMlHLSTrackBar TMlLikeMenuDlg TMlQQAlign TMlSkinAlphaForm TMlSkinAnimateButton TMlSkinAnimation and 65 controls in all
TMlCorneruMlSkinIntf.pas
TMlCorner = (TopLeft, TopRight, BottomLeft, BottomRight);
One corner of a rectangle; the element type of the TMlCorners set.
| Value / member | Description |
|---|
TopLeft | Top-left. |
TopRight | Top-right. |
BottomLeft | Bottom-left. |
BottomRight | Bottom-right. |
TMlCornersuMlSkinIntf.pas
TMlCorners = set of TMlCorner;
Which corners are rounded, in any combination. For the leftmost button of a button group, round only the left corners: Corners := [TopLeft, BottomLeft].
TSideuMlSkinIntf.pas
TSide = (sdLeft, sdTop, sdRight, sdBottom);
One edge of a rectangle; the element type of the TSides set.
| Value / member | Description |
|---|
sdLeft | Left. |
sdTop | Top. |
sdRight | Right. |
sdBottom | Bottom. |
TSidesuMlSkinIntf.pas
TSides = set of TSide;
Which border edges are drawn, in any combination. For just a bottom divider: BorderSides := [sdBottom]; the empty set [] draws no border.
Used byBorderSidesTMlSkinBorderPanel TMlSkinCalendar TMlSkinCalloutPanel TMlSkinCircleShape TMlSkinColorButton TMlSkinColorComboBox and 18 controls in all
TMlSkinStyleuMlSkinIntf.pas
TMlSkinStyle = (ssColor, ssPicture);
How a form skin is colored. This is the main skin switch: change it, then set the matching color or image.
| Value / member | Description |
|---|
ssColor | Solid-color skin using color properties such as Color / TitlerColor. |
ssPicture | Picture skin using the background in CustomPicture, laid out according to FillStyle. |
Used byStyleTMlSkinForm
TMlFillStyleuMlSkinIntf.pas
TMlFillStyle = (mfsBlur, mfsTile, mfsStretch, mfs9Block);
How the background image fills the form with a picture skin (ssPicture).
| Value / member | Description |
|---|
mfsBlur | The image sits at the top-left with its right and bottom edges faded out, and the rest of the form is filled with the image's average color, so a small image shows no hard edge. The default. |
mfsTile | Tiled. |
mfsStretch | Stretched over the whole form. |
mfs9Block | Nine-slice: the four corners keep their shape while the edges and centre stretch — for backgrounds with rounded or decorated borders. |
Used byFillStyleTMlSkinForm
TMlPngFillTypeuMlSkinIntf.pas
TMlPngFillType = (ftNormal, ftTile, ftAutoStretch, ftCenter, ftStretch, ftGradient);
How a background image is laid out inside a control (BackgroundFillType on panels and similar controls).
| Value / member | Description |
|---|
ftNormal | Original size at the top-left. |
ftTile | Tiled. |
ftAutoStretch | Stretched to the control size (width and height independently). |
ftCenter | Original size, centred. |
ftStretch | Stretched to fill. |
ftGradient | No image: paint a gradient instead (direction, colors and anchor come from the Gradient* properties). |
Used byBackgroundFillTypeTMlSkinBorderPanel TMlSkinCalloutPanel TMlSkinColorComboBox TMlSkinComboBox TMlSkinGroupControls TMlSkinListBox and 12 controls in all
TMlSkinCustomComboBoxStyleuMlSkinIntf.pas
TMlSkinCustomComboBoxStyle = (csDropDown, csDropDownList);
Whether a combo box can be typed into.
| Value / member | Description |
|---|
csDropDown | Editable: pick from the list or type text directly. The default. |
csDropDownList | List only; no typing. |
Used byStyleTMlSkinComboBox TMlSkinComboBoxEx
TMlColorBoxStylesRecuMlSkinIntf.pas
TMlColorBoxStylesRec = (mlcbStandardColors, mlcbExtendedColors,
mlcbSystemColors, mlcbIncludeNone, mlcbIncludeDefault, mlcbCustomColor, mlcbPrettyNames);
Which entries a color combo box lists; the element type of the TMlColorBoxStyles set. The values match the VCL TColorBox.Style.
| Value / member | Description |
|---|
mlcbStandardColors | The 16 standard colors (clBlack, clRed …). |
mlcbExtendedColors | The extended colors (clMoneyGreen, clSkyBlue, clCream, clMedGray). |
mlcbSystemColors | System colors (clBtnFace, clWindow and other theme-dependent colors). |
mlcbIncludeNone | Include clNone. |
mlcbIncludeDefault | Include clDefault. |
mlcbCustomColor | Add a “Custom…” entry that opens the color dialog. |
mlcbPrettyNames | Show friendly names without the cl prefix (Red rather than clRed). |
TMlColorBoxStylesuMlSkinIntf.pas
TMlColorBoxStyles = set of TMlColorBoxStylesRec;
What the color combo box lists; combine as needed, for example ExStyle := [mlcbStandardColors, mlcbCustomColor, mlcbPrettyNames].
Used byExStyleTMlSkinColorComboBox
TNCBoderSideKinduMlSkinIntf.pas
TNCBoderSideKind = (skTitle, skLeft, skRight, skBottom);
A segment of the form's non-client frame, used internally by TMlSkinForm when it paints the title bar and window border. You rarely need it in your own code.
| Value / member | Description |
|---|
skTitle | Title bar. |
skLeft | Left border. |
skRight | Right border. |
skBottom | Bottom border. |
TMlEditTipsPositionuMlSkinEditTips.pas
TMlEditTipsPosition = (etpRight, etpLeft, etpTop, etpBottom);
Which side of the edit the red validation tip (Tips.Show) appears on. Set it through Tips.Position, together with Tips.Spacing — the gap between tip and edit (default 5, in 96-DPI pixels, scaled for DPI at run time).
| Value / member | Description |
|---|
etpRight | On the right, vertically centred on the edit. The default. |
etpLeft | On the left. |
etpTop | Above, aligned with the edit's left edge. |
etpBottom | Below, aligned with the edit's left edge. |
Used byTMlSkinEdit.Tips.Position, TMlSkinNCEdit.Tips.Position
TGroupBoxFrameStyleuMlSkinBoxCtrls.pas
TGroupBoxFrameStyle = (fsLine, fsBox, fsCard);
The frame style of a group box.
| Value / member | Description |
|---|
fsLine | Only a divider line after the caption (fading from LineStartColor to LineStopColor). The default. |
fsBox | A full rectangle. |
fsCard | Card: caption above at the left, then an anti-aliased rounded card with its border in LineStartColor and fill in CardColor (clNone draws the border only). |
Used byFrameStyleTMlSkinGroupBox
TMlTitleBarButtonKinduMlSkinTitleBar.pas
TMlTitleBarButtonKind = (tbkMinimize, tbkMaximize, tbkRestore, tbkClose, tbkCustom);
The kind of button on a TMlSkinTitleBar; tells you in OnDrawButton which button is being drawn.
| Value / member | Description |
|---|
tbkMinimize | Minimize. |
tbkMaximize | Maximize (while the form is not maximized). |
tbkRestore | Restore (what the maximize button becomes once the form is maximized). |
tbkClose | Close. |
tbkCustom | A custom button from the Buttons collection; the event's Index says which one. |
TMlTitleBarButtonStateuMlSkinTitleBar.pas
TMlTitleBarButtonState = (tbsNormal, tbsHot, tbsDown);
The current state of a TMlSkinTitleBar button.
| Value / member | Description |
|---|
tbsNormal | Normal. |
tbsHot | Hovered. |
tbsDown | Pressed (mouse held down and still over the button). |
TNCButtonStateuMlSkinNCButton.pas
TNCButtonState = (bsNormal, bsHot, bsPressed);
The current state of a title-bar button (TMlSkinNCButton, TMlSkinSystemButton), passed to OnDrawButton.
| Value / member | Description |
|---|
bsNormal | Normal. |
bsHot | Hovered. |
bsPressed | Pressed. |
TSystemButtonKinduMlSkinNCButton.pas
TSystemButtonKind = (bkClose, bkMinimize, bkMaximize);
Which system button a TMlSkinSystemButton acts as; clicking it performs that window command.
| Value / member | Description |
|---|
bkClose | Close. The default. |
bkMinimize | Minimize. |
bkMaximize | Maximize / restore. |
Used byKindTMlSkinSystemButton
Sub-property classes (expandable in the Object Inspector)
TPngPicturesuMlSkinIntf.pas
TPngPictures = class(TPersistent)
public
procedure Assign(Source: TPersistent); override;
constructor Create;
destructor Destroy; override;
function GetNormalImage(var AImage: TMlSkinImage): Boolean;
function GetHotImage(var AImage: TMlSkinImage): Boolean;
function GetPressedImage(var AImage: TMlSkinImage): Boolean;
function GetDisableImage(var AImage: TMlSkinImage): Boolean;
function GetSingleWidth: Integer;
function GetSingleHeight: Integer;
property SourceImage: TMlSkinImage read FSourceImage;
procedure Lock;
procedure UnLock;
published
property Active: Boolean read FActive write SetActive;
property MultiLineMode: Boolean read FMultiLineMode write SetMultiLineMode default False;
property Image: TMlResID read FImage write SetImage;
property Normal: Integer read FNormal write SetNormal;
property Hot: Integer read FHot write SetHot;
property Disable: Integer read FDisable write SetDisable;
property Count: Integer read FCount write SetCount;
property Pressed: Integer read FPressed write SetPressed;
property SourceSize: TSize read GetSourceSize;
property PicturesChanged: TNotifyEvent read FPicturesChanged write SetPicturesChanged;
end;
Button images where several states sit side by side in one picture. Image names a strip that is cut into Count equal frames; Normal / Hot / Pressed / Disable pick the frame (0-based) for each state. At high DPI the matching scaled resource is used automatically. Changing Pressed or MultiLineMode at run time does not repaint by itself — call the control's Invalidate afterwards.
| Value / member | Description |
|---|
Active | Whether this image set is used. When off the control draws no image (text only, or a Flat vector style). |
MultiLineMode | Frame layout: False side by side (default), True stacked vertically. |
Image | Resource ID (TMlResID) of the strip. |
Count | Number of frames in the strip, default 3. |
Normal | Frame for the normal state, default 0. |
Hot | Frame for the hot state, default 1. |
Pressed | Frame for the pressed state, default 2. |
Disable | Frame for the disabled state, default 0 (shared with normal). |
SourceSize | Read-only: width and height of the whole source image. |
PicturesChanged | Change notification hooked by the owning control to repaint; normally leave it alone. |
GetNormalImage / GetHotImage / GetPressedImage / GetDisableImage | Copy the frame for that state into the TMlSkinImage you pass; returns True on success. Use them when drawing yourself. |
GetSingleWidth / GetSingleHeight | Width / height of one frame, in pixels. |
Lock / UnLock | Wrap several property changes in Lock … UnLock to suppress the repaint notifications in between. |
Used by 10
ButtonImageTMlSkinTabset TMlSkinToolbarButtonLeftTMlSkinImageSliderButtonPicturesTMlSkinMessageBoxStyleButtonRightTMlSkinImageSliderCloseButtonTMlSkinTabsetImageOFFTMlSkinSwitchButtonImageONTMlSkinSwitchButtonLayersTMlSkinButton TMlSkinImageButton TMlSkinToolButtonPictureTMlSkinNCButton TMlSkinSystemButtonPicturesTMlSkinButton TMlSkinImageButton TMlSkinToolButton
TPngPicturesExuMlSkinIntf.pas
TPngPicturesEx = class(TPngPictures)
end;
A descendant of TPngPictures with no added members; use it exactly the same way.
TMlLightClassuMlSkinIntf.pas
TMlLightClass = class(TPersistent)
public
constructor Create;
procedure Assign(Source: TPersistent); override;
published
property BlurRadius: Integer read FBlurRadius write SetBlurRadius default 1;
property Active: Boolean read FActive write SetActive default False;
property Color: TColor read FColor write SetColor default $FFFFFE;
property OnChanged: TNotifyEvent read FOnChanged write SetOnChanged;
end;
A text glow (outer halo) that keeps text readable on dark or picture backgrounds. The Light, CaptionLight and MessageLight properties of the controls all use it.
| Value / member | Description |
|---|
Active | Turns the glow on; off by default. |
Color | Glow color, near-white by default ($FFFFFE). |
BlurRadius | Blur radius in pixels — larger means a wider halo. Default 1. |
OnChanged | Change notification hooked by the owning control to repaint. |
Used byCaptionLightTMlSkinGroupBox TMlSkinMessageBoxStyle TMlSkinPageControlLightTMlSkinCheckBox TMlSkinLabel TMlSkinNCLabel TMlSkinRadioBox TMlSkinToolButton TMlURLButtonMessageLightTMlSkinMessageBoxStyle
TMlTextObjuMlSkinIntf.pas
TMlTextObj = class(TPersistent)
public
constructor Create;
destructor Destroy; override;
procedure Assign(Source: TPersistent); override;
published
property Light: TMlLightClass read FLight write SetLight;
property Text: string read FText write SetText;
property Visible: Boolean read FVisible write SetVisible default True;
property OnChanged: TNotifyEvent read FOnChanged write SetOnChanged;
end;
A piece of text with a visibility switch and a glow effect. The toolbar's Text property uses it.
| Value / member | Description |
|---|
Text | The text. |
Visible | Whether it is shown; on by default. |
Light | Glow effect (TMlLightClass). |
OnChanged | Change notification hooked by the owning control to repaint. |
TMlCaptionuMlSkinIntf.pas
TMlCaption = class(TMlTextObj)
public
constructor Create;
destructor Destroy; override;
procedure Assign(Source: TPersistent); override;
published
property OffsetX: Integer read FOffsetX write SetOffsetX default 0;
property OffsetY: Integer read FOffsetY write SetOffsetY default 0;
property Font: TFont read FFont write SetFont;
end;
A TMlTextObj with its own font and position offset — the text shown inside progress bars and circular progress controls (a percentage, for example).
| Value / member | Description |
|---|
Font | Font of the text. |
OffsetX | Horizontal offset from the default position in pixels; positive moves right. |
OffsetY | Vertical offset from the default position in pixels; positive moves down. |
Used byCaptionTMlSkinCircleProgress TMlSkinProgressBar
TMlOffsetuMlSkinIntf.pas
TMlOffset = class(TPersistent)
public
constructor Create;
destructor Destroy; override;
published
property X: Integer read FX write SetX;
property Y: Integer read FY write SetY;
property OnChanged: TNotifyEvent read FOnChanged write SetOnChanged;
end;
An X / Y offset pair in pixels for nudging text, close buttons and other elements inside a control.
| Value / member | Description |
|---|
X | Horizontal offset; positive moves right. |
Y | Vertical offset; positive moves down. |
OnChanged | Change notification hooked by the owning control to repaint. |
Used byCaptionOffsetTMlSkinNCButtonCloseButtonOffsetTMlSkinTabsetOffsetTMlSkinGroupControls
TMlTitleBarButtonuMlSkinTitleBar.pas
TMlTitleBarButton = class(TCollectionItem)
public
constructor Create(Collection: TCollection); override;
procedure Assign(Source: TPersistent); override;
published
property Image: TMlResID read FImage write SetImage;
property Hint: string read FHint write FHint;
property Visible: Boolean read FVisible write SetVisible default True;
property Tag: Integer read FTag write FTag default 0;
property OnClick: TNotifyEvent read FOnClick write FOnClick;
end;
One custom button in TMlSkinTitleBar.Buttons, placed to the left of the minimize button.
| Value / member | Description |
|---|
Image | Resource ID of the button icon. |
Hint | Tooltip text (requires the title bar's ShowHint). |
Visible | Whether the button is shown; hidden buttons take no space. |
Tag | A spare integer, handy for telling buttons apart in a shared click handler. |
OnClick | Fires when the button is clicked. |
TMlTitleBarButtonsuMlSkinTitleBar.pas
TMlTitleBarButtons = class(TOwnedCollection)
public
function Add: TMlTitleBarButton;
property Items[Index: Integer]: TMlTitleBarButton read GetItem; default;
end;
The custom-button collection of TMlSkinTitleBar. Add buttons at design time through Buttons in the Object Inspector, or at run time with Add; access them with Items[i] (the default property, so Buttons[i] works).
Used byButtonsTMlSkinTitleBar
Event types
TMlDPIChangedEventuMlSkinIntf.pas
TMlDPIChangedEvent = procedure(Sender: TObject; NewPPI: Integer) of object;
DPI-change event. NewPPI is the new pixels-per-inch (96 = 100%, 144 = 150%). It fires when the window moves to a monitor with a different scale; recompute any custom-drawn sizes here.
Used byOnDPIChangedTMlHLSTrackBar TMlSkinAnimateButton TMlSkinAnimation TMlSkinBorderPanel TMlSkinButton TMlSkinCalendar and 53 controls in all
TCustomPaintEventuMlSkinIntf.pas
TCustomPaintEvent = procedure(Sender: TObject; Bitmap32: TBitmap32) of object;
Custom paint event. Bitmap32 is the control's drawing buffer (a Graphics32 bitmap with alpha); whatever you draw on it is what the control shows.
Used byOnCustomPaintTMlSkinAnimateButton TMlSkinButton TMlSkinColorButton TMlSkinCornerButton TMlSkinImageButton TMlSkinToolButton
TMlDrawSkinItemEventuMlSkinIntf.pas
TMlDrawSkinItemEvent = procedure(Sender: TObject; Cnvs: TCanvas; Index:
Integer; ItemWidth, ItemHeight: Integer; TxtRect: TRect; State: TOwnerDrawState) of object;
Owner-draw event for list items. Cnvs is the canvas, Index the item, ItemWidth / ItemHeight its size, TxtRect the text area and State the selection / focus state (odSelected, odFocused …).
Used byOnComboBoxDrawItemTMlSkinComboBoxOnDrawItemTMlSkinListBoxOnListBoxDrawItemTMlSkinComboBox
TMlNCButtonDrawEventuMlSkinNCButton.pas
TMlNCButtonDrawEvent = procedure(Sender: TObject; Canvas: TBitmap32; const R: TRect;
Custom drawing for a title-bar button. Canvas is the whole title-bar buffer, R the button area and State its current state. Set Handled to True to skip the default image and caption drawing.
Used byOnDrawButtonTMlSkinNCButton
TMlTitleBarDrawButtonEventuMlSkinTitleBar.pas
TMlTitleBarDrawButtonEvent = procedure(Sender: TObject; Bitmap: TBitmap32; Kind: TMlTitleBarButtonKind;
Button drawing event of TMlSkinTitleBar, fired before each button is painted. Bitmap is the whole title-bar buffer, Kind the button kind, Index the custom button's position in Buttons (-1 for system buttons), R the button area and State its state. With Handled := True the default background and glyph are skipped; to change only the background, paint it and then call DrawButtonGlyph for the stock —/□/X lines.
Used byOnDrawButtonTMlSkinTitleBar
Low-level types (custom drawing and control internals)
TDynMlSkinImageuMlSkinIntf.pas
TDynMlSkinImage = array of TMlSkinImage;
A dynamic array of TMlSkinImage, used to cache a set of frames. Release it with FreeDynImg, which frees every element and empties the array.
TImgArray9BlockuMlSkinIntf.pas
TImgArray9Block = array[0..2, 0..2] of TMlSkinImage;
A 3×3 array of TMlSkinImage holding a nine-slice (corners, edges, centre). Release it with FreeArray9BlockImg.
TPngArrayuMlSkinIntf.pas
TPngArray = array of TPngImage;
A dynamic array of TPngImage; release it with FreeDynPng.
TPngArray9BlockuMlSkinIntf.pas
TPngArray9Block = array[0..2, 0..2] of TPngImage;
A 3×3 nine-slice of TPngImage; release it with FreeArray9BlockPng.
TPngArray3BlockuMlSkinIntf.pas
TPngArray3Block = array[0..2] of TPngImage;
A three-piece slice of TPngImage (left / middle / right or top / middle / bottom) for images that stretch in one direction. Release it with FreeArray3BlockPng.
TmlColorRecuMlSkinIntf.pas
TmlColorRec = packed record
case cardinal of
0:
(Color: cardinal);
2:
(HiWord, LoWord: Word);
3:
(B, G, R, A: Byte);
end;
A variant record that splits a 32-bit color into bytes: read or write the whole Color, or the B, G, R, A components separately (memory order BGRA, as in Windows 32-bit bitmaps).
TmlColorRecBoruMlSkinIntf.pas
TmlColorRecBor = packed record
case cardinal of
0:
(Color: cardinal);
2:
(HiWord, LoWord: Word);
3:
(R, G, B, A: Byte);
end;
Same as TmlColorRec but with RGBA component order, matching the byte layout of a Delphi TColor.
TmlColorArrayuMlSkinIntf.pas
TmlColorArray = array[0..0] of TmlColor;
An open-ended array of TmlColor; use it through PmlColorArray to index a block of pixel memory (the declared upper bound is 0, so range checking must be off).
TRGBQuadArrayuMlSkinIntf.pas
TRGBQuadArray = array[0..$EFFFFFF] of TRGBQuad;
A huge array of TRGBQuad, used through pRGBQuadArray to walk the scan lines of a 32-bit bitmap (e.g. pRGBQuadArray(Bmp.ScanLine[y])[x]).
TIntArrayuMlSkinIntf.pas
TIntArray = array[0..0] of Integer;
An open-ended integer array, used through PIntArray to index a block of integers.
TMonitorInfouMlSkinIntf.pas
TMonitorInfo = record
cbSize: DWORD;
rcMonitor: TRect;
rcWork: TRect;
dwFlags: DWORD;
end;
The monitor-info structure for Windows GetMonitorInfo: rcMonitor is the whole screen, rcWork the work area without the taskbar. It is declared here for compatibility with older Delphi versions.
TMlCBButtonXuMlSkinIntf.pas
TMlCBButtonX = record
R: TRect;
MouseIn: Boolean;
Down: Boolean;
end;
Used inside the combo box to track its drop-down button: area R, whether the mouse is over it (MouseIn) and whether it is pressed (Down).
TMlCBItemuMlSkinIntf.pas
TMlCBItem = record
R: TRect;
State: TOwnerDrawState;
end;
Used inside the combo box to keep the current item's area R and draw state State.
No matching type.