Only the changes that affect your code are listed.
- v1.15.0: data-view virtualization (
SetItemCountetc.) + hide/filter/visible-order sort (two coordinate systems); cross-thread/locking hardening;ComboBoxsource-index API;TreeView::BeginUpdate/SetNodeText. - v1.17.0: UIA accessibility (on by default); external debug/automation channel (
SetDebugEnabled, off by default, commands 1~22); layout stretch weights (ColumnBox/RowBox/GridLayoutdistribute leftover by weight); automatic ellipsis tooltips (Label/Button);CaptionButton::Kind::Pin;TreeViewnodebgColor/Get/SetScrollOffsetY/ScrollToNode;Window::DefaultBackdropColorpure white. - v1.18.0:
- New
ZufyUICharts.h:ChartBase/BarChart/LineChart/PieChart;BarCharthorizontal orientation;PieChartwheel zoom. - New
TextEditmulti-line editor/viewer;TextRun; baseAcceptsTab(). UIElement::ReleaseDeviceResourcesRecursive();PageHostdelayed hidden-page cache release (~1.2 s);ScrollViewer::UseCache()=false;SetUseCache(false)frees immediately.- Library fixes:
SnapDPI scale also set on the UI thread;ZSignal::FireRAII exception safety;TextBoxshift+click;Sliderzero-width NaN guard;ListViewpooled-label re-measure on width change (poolW_).
- New
- v1.19.0:
- New drag & drop (
ZufyUIDragDrop.h):Window::BeginDrag+DragDataBuilder; elementSetDropTargetEnabled/OnDragEnter/Over/Leave/Drop+ signals;Label/Button/TextBox/TextEdit/ComboBoxaccept and start drags; drag files out to Explorer. - New
Expander(collapsible card: smoothstep easing + rotating arrow + header hover highlight),SettingsList(settings rows); image display usesLabel::SetImage+SetImageFit(scale to fully visible). ComboBoxdropdown arrow is now a chevron that rotates with expansion.- Text drag now has move semantics: the source deletes the original selection first, then inserts at the drop point (private format dedups same-control drags).
- New drag & drop (
- v1.19.1:
TextEditundo/redo switched to the standard scheme (stack top = current state): both undo and redo restore the selection and cursor of that point; Backspace/Delete/typing/paste are one step each; drop insert/move are undoable and redoable.ScrollViewer: content is measured at the viewport width (fixes "clipped cards" and wrong scroll range from an infinite desired width for FillWidth/wrapping content); content is measured twice (re-measured at the narrower width once a vertical bar appears); the content element's ownmarginis honored; the clip gets a 1px bleed so edge borders are not cut in half.- The drop caret now shows even when the target is unfocused; during a drag the source selection is preserved and a preview caret shows at the drop point; dropping inside the original selection is a no-op.
Expander: header hover highlight (no longer covering the card border), arrow rotates with the collapse easing,SetIconleading icon.- Whole-window drag & drop:
Window::SetDropTargetEnabled+ window-levelDragEnter/DragOver/DragLeave/Drop. - Image display merged into
Label(newSetImageFit); the standaloneImageViewis removed.
- v1.19.2:
- New top menu bar
MenuBar(VS-style: click opens theMenu; hovering only highlights, no auto-expand; the open entry stays pressed until the menu closes; overlaid on the custom title bar by default, empty areas pass through so the title bar stays draggable). - New bottom status bar
StatusBar(left/right panels: optional icon + text). Window:SetMenuBar/SetStatusBar/SetMenuBarInTitleBar/SetShowTitleText(title text and an on-title-bar menu are mutually exclusive).Menugains anonClosedcallback;MenuWindow::OnPopupClosed.
- New top menu bar
- v1.19.3:
- New theme system (
ThemeRole/Theme/ThemeManager;Light/Dark/HighContrast; window-levelSetTheme;UIZSignals::ThemeChanged/ThemeReapply) — one palette by role; re-applied to the visible subtree on page/tab switch. - Follow system: reads the registry light/dark + system accent, handles
WM_SETTINGCHANGE/WM_THEMECHANGED/WM_DWMCOLORIZATIONCOLORCHANGED/WM_SYSCOLORCHANGE;ThemeManager::SetFollowSystem(bool). - Explicit instance color wins: once a control's
Set*Coloris called it is flagged "user-colored" and the theme no longer overrides it; ListView items / TableView cells+rich cells / TreeView cells / headers / alternating rows / Tab selected+hover / radio / NumberBox hover / CheckBox hover all themed. Backdroptoken (window base white/black); window periphery (caption buttons) follows the system theme;ThemeManager::Mapcolor remap.- Fixes:
ThemeReapplyconnection leak (UAF);SyncThemeBackdropswallowing user tint; ListView/TableView/TreeView theme overriding per-item colors.
- New theme system (
- v1.19.4:
- New DSL (
ZufyUIDsl.h):Ref<T>(with/on/add+ layout shortcuts),Make<T>,Col/Row/Gridand per-control short factories — fluent construction / subtree assembly / signal wiring; demo gains a "DSL" page. - Fix:
CheckBoxhard-codedwidth_/height_in its ctor → treated as a fixed width inRowBox/ColumnBoxand the label was clipped. ListView/TableViewRefreshChildrencache criteria collapsed into a single signatureChildrenSig()(criteria in one place, harder to forget); consistent withTreeView.ChartBase::MeasureOverride: falls back to420×260whenfillbut unconstrained/no size (no longer collapses to 0).Window::SetMinSizedefault content measure gets a 600 DIP width floor;pch.hZufyUI_DEBUGnow#ifdef _DEBUG;Theme::HighContrastrole colors distinguished (no longer all-yellow).
- New DSL (
- v1.19.5:
- DSL enhancements:
dsl::App()/WindowAppwindow builder (fluent config +run());Page()/Menu()/Settings()short factories; SFINAE-gated per-control sugar (text/checked/value/placeholder/padding/category/series/slice/item/menu). - The demo "DSL" page uses the sugar and chart composition (
Pie().slice(...),Bar().category(...).series(...),Progress().value(...)).
- DSL enhancements:
- v1.19.6:
- Fix:
ListViewbutton mode checkbox hit test was 4px off (now aligned with the draw / child left edge). - Fix:
Label::MeasureOverridewrap branch ignored inline children width (wrapping Labels withAddChildsqueezed/overflowed text). - Docs: version is now a single source (
API.md/README.mdheaders reference theZufyUI.hmacro; the generatormdapi2html.pyinjects1.29.1); cleaned stale items (ImageViewdefault row,Sort→SortItems,Menu::onClosed, chart fill wording, README menu+90MBhistory entry);mdapi2html.pyfixes--theme autosemantics andc++-style language names in the code-fence regex.
- Fix:
- v1.19.7:
- Fixes:
ChartBaseswapped horizontal/vertical scrollbar allowance (viewWuses the vertical bar,viewHthe horizontal) → rightmost/bottom content unreachable;NumberBoxwheel focus check (focus is on the innerTextBox);lastActiveAnimElements_dangling (erased from the anim sets on destruction, prevents random crashes);Menu::ShowAtthrowingbad_weak_ptrwhen not shared-owned;ChildrenSigmissingEnsureView;TreeView::SetDefaultExpandDepthnot applied byAddRoot/AddChild. - Fixes:
ColumnBox/RowBoxspacing counts only layout-participating children;GridLayoutrow/col count skips invisible;Labelwrap ignored/duplicated spacing;ListView/TableViewclearchildrenView_before releasing labels and release pooled/rich/cell labels;Window::defaultIMC_viaImmAssociateContext;DragData::GetFilesbufferlen+1;TextEditfiresSelectionChangedwhen clearing a selection;MessageBoxdefault title localized. - Added
TODO.md(merges the formerFEATURE_PLAN.md/OPTIMIZATION_PLAN.md; the single authoritative backlog).
- Fixes:
- v1.20.0:
- DSL:
root()now accepts anyLayoutsubclass (previously onlyColhad a dedicated overload, soRow/Gridfailed to compile becauseRef→shared_ptr<Layout>needs two user-defined conversions);titleBar/menuBar/statusBarlikewise take aRef<T>directly. - DSL:
add()dispatches on the container's real API (ColumnBox/RowBox/Label→AddChild;PageHost→AddPage, skipping non-Pagearguments;GridLayoutgoes through the new coordinate API). Addeddsl::Cell(row,col,child[,rowSpan,colSpan])andRef::cell, theapply()escape hatch, andWrap(). - DSL: more shortcuts — size limits (
minWidth/minHeight/maxWidth/maxHeight/minSize/maxSize), stretch weights (weight/hWeight/vWeight),cache/bleed/clipRect/noClip/cursor/dropTarget/contextMenuEnabled/accessible,spacing(single-arg onCol/Row, two-arg onGridLayout),padding(Thickness),background/textColor,align(GridLayout); per-control sugar gainedimage/imageFit/items/rows/cols/header/cell/root(s)/separator/submenu; new factoriesRadioGroup()/ScrollBar()/Glyph()(Imageis a resource object, not aUIElement, so it has no factory — use theLabel::SetImagesugar). - DSL:
WindowApp::run()now callsShow()—Window::Createdoes not show the window, so the previous implementation ran a message loop with no window (looked like a hang); addedhidden/minSize/position/frameRateLimit/theme/useAppTheme/dropTarget/icon/titleBarVisible/showTitleText/menuBarInTitleBarand the window signal hookon<&Window::Closed>(Window's signals are plain members, there is noConnect);WindowAppis now movable (it holds aunique_ptr<Window>, becauseWindowitself is neither copyable nor movable). - Fix: null guards in
ColumnBox/RowBox/GridLayout::AddChild— the DSL's variadic forwarding can passnullptr, which used to dereference a null pointer. - Fix:
ZufyUIWindowTool.hwas not self-contained — it usedLabel/Button/ColumnBox::AddChildwithout includingZufyUIWidgets.h, relying on the caller to include it first (pch.hhappened to do so); the include is now present and the header can be included on its own. - Tooling: new
tools/build.ps1(one shot: auto-fix BOM before building → kill processes holding files → build demo +ZufyUIDebugger→ run self-tests),tools/ensure_bom.ps1(adds a UTF-8 BOM only to C++ sources that contain non-ASCII and lack one, preventing the GBK misparse behindC2143/C2259/C2888/C4819), andtests/zufyui_tests.cpp+tools/run_tests.ps1(47 compile-time/runtime assertions, no window created, runnable from a shell or CI).
- DSL:
- v1.21.0:
- Fix:
Cardflashed a blue hover border — the theme applier setSetHoverBorderColor(Accent)on cards, a behaviour cards never had; removed (hover still changes the background). - Fix:
ProgressBarinner fill radius no longer matched the outer frame after stretching — the track, the clip geometry and the border still used the memberheight_(construction-time height) while only the fill used the arranged height; all three now usearrangedRect_.height / 2. - Fix:
Buttoncaptions were ellipsized even with room to spare —MeasureOverridereturned a constantwidth_(set toDefaultWidth = 120in the constructor); it now grows to fit the text (max(width_, textWidth + 2*padding)), withButton::AutoSizeToText(static, defaulttrue) andSetAutoSizeToText(false). This is a layout behaviour change. - New:
ToggleSwitchuses duration-driven ease-in-out (DefaultAnimationDuration = 0.25s, stops exactly on time); also fixes mouse-click/keyboard paths that bypassedSetOnand therefore never started the animation (the "instant snap"). - New:
ProgressBarvalue easing (DefaultValueAnimDuration = 0.22s; fill and percentage text move together). - New:
SplitViewcollapse: dragging within the edge threshold first shows an "about to collapse" overlay (translucent accent + direction arrow, alpha fade, content untouched); the pane collapses on release (size eases to 0); afterwards a small button is drawn on top of the content at that edge (rounded light grey + arrow pointing in the expand direction + hover easing), and clicking it eases that side from 0 to its minimum limit.SetCollapseEnabled(false)disables the whole feature. Public API:SetCollapseEnabled/IsCollapseEnabled/SetCollapseThreshold/CollapseFirst/CollapseSecond/Expand/IsFirstCollapsed/IsSecondCollapsed/GetCollapsedSide/IsCollapsing/GetCollapseProgress/SetExpandButtonColors/SetExpandButtonSizeplus theCollapsedChanged(int)signal. - New:
detail::EaseOutCubic/detail::EaseInOutCubic(duration-driven easing, one shared convention for in-library animations). - New:
ThemeRole::Shadow(appended at the end of the enum so existing values keep their numbers) with Light/Dark/HighContrast values;UIElement::DefaultShadowColor/SetDefaultShadowColor;Window::SetBackdrop(Backdrop)follows the theme (thetintoverload means "locked") plus theApplyThemeToBackdropParamshook. - Fix:
PieChartCtrl+wheel zoom did nothing —PieChart's ownzoom_shadowsChartBase::zoom_, so delegating to the base only changed the base's copy; the pie now handles Ctrl itself viaSetZoom. Semantics are explicit: Ctrl+wheel = zoom / plain wheel = pan only. - Fix: chart wheel panning "did not move" — the wheel path was missing
SyncScrollPositions()(it changedscrollX_/scrollY_but never recomputedbaseX_/baseY_). - Fix: documented that
ColumnBoxarranges a child without an explicit width at the available width (horizontal stretch ignores the weight) — so "make a card hug its content" means wrapping it in aRow; and that aSettingsListplaced in aCard's built-inGridLayout(auto columns passFLT_MAX) degenerates to zero width — useSetLayout(Col(...))+SetFillWidth(true). - Tooling:
tests/zufyui_tests.cpp62 → 85 assertions (regressions for this batch: button auto-size on/off, label width follows text, progress/toggle easing convergence, SplitView collapse and expand-to-minimum).
- Fix:
- v1.22.0 (contains breaking API changes):
- Fix:
MessageBox(and any modal) first click falling through to the window behind — when a modal is opened from insideWindow::OnMouseUp's slot, that function's trailingReleaseCapture()only runs after the modal loop ends, so the main window keepsSetCapturefor the whole modal and Windows routes mouse input to the capture window;Window::RunModalnow doesif (GetCapture()) ReleaseCapture();before entering the loop. - Fix:
ScrollViewerscroll chaining — it no longer swallows the wheel at the top/bottom (returnsfalseto bubble up the parent chain when that axis can't scroll further), so the outer page keeps scrolling. - Fix:
SplitViewexpand had no easing + expand button jumped sides — the oldExpand()cleared the collapsed flags before starting the animation, butPaneLengthskeyed off them; now a singlecollapseSide_drives both directions and is cleared only when the animation finishes. - Breaking · P0-1: member functions with default arguments split into non-defaulted overloads (so
.with()works):TreeView::SetCheckable(bool)+SetCheckableShallow(bool);SetNodeCheckable(node,bool)+SetNodeCheckableRecursive;SetNodeEnabled(node,bool)+SetNodeEnabledRecursive;SetNodeCheckState(node,state)+SetNodeCheckStateFull(...,updateChildren,updateParent);ListView::AddItem(text)and rich-itemAddItemWidget(shared_ptr<Label>)(old name dropped);RadioGroup::AddItem/AddItemSelected/AddButton/AddButtonSelected;Menu::AddCheckItem(text,checked)/AddCheckItemCb/AddCheckItemRadio. - New · P0-2: collision-free aliases
make_slider/make_card/make_page/make_menu/make_menu_bar/make_status_bar/make_radio_group/make_scroll_bar/make_expander. - New · P1-2:
Page::SetScrollableContent(content)— one line wraps the whole page in aScrollViewer+ margin. - New · P1-4:
ThemeManager::RegisterHook/RegisterSubtreeApplierreturn a RAIIHookHandle(auto-disconnect on destruction); the library's own fixed hooks useRegisterHookPermanent/RegisterSubtreeApplierPermanent. - Docs · P3: added
docs/pitfalls.md;AGENTS.mdgained a "chaining / API conventions" section.
- Fix:
- v1.22.1:
- Fix (layout):
RowBox/ColumnBoxArrangeOverridedid not clamp each child'sbaseto its min/max before distributing leftover → a child withSetMinWidth/Heightpushed its extra space onto a stretching sibling, overflowing the row/column (classic case: aSetMinWidthlabel +SetFillWidthslider → the slider grew too long and spilled outside its card). Nowbase = clamp(base, min, max)before computing leftover. - Behaviour:
ColumnBox/RowBox/GridLayoutno longer shrink content — insufficient space now overflows and is left to an outerScrollViewer(desktop UI does not compress content).GridLayoutdropped its proportional row/column compression on overflow. - Fix (alignment):
GridLayout'sSetHorizontalAlignment/SetVerticalAlignmentnever took effect because the testcolStretchWeights.empty()was always false; now it checks "all zero", soCenter/Endwork (only when no column/row stretch weight is set). - Fix (text/IME):
TextBox/TextEditnow merge UTF-16 surrogate pairs (emoji / beyond-BMP) and insert them as one unit;←/→,Backspace,Deletemove/delete across the whole pair. On losing focus the control clears its own composition state and theWindowcancels the IME composition (ResetImeState()) — both control and program IME state reset.TextBox::SetImeEnabled(false)also clears composition. - Fix (accessibility):
GetAutomationIdOrAuto()now uses a per-window counter (Window::NextAccessibleAutoId()), so multi-window/multi-root ids no longer collide;ElementProviderFromPointdescends child-before-parent to the deepest hit (e.g. a Button embedded in a Label). - Fix: data view item/cell placement
bleedYis read from each element'sGetBleed()(no longer a fixed3.0f), so shadows/bleed aren't clipped;indicatorY_is initialised to-1so the selection indicator snaps on the first frame. - Fix (visual): the focus ring uses
ThemeRole::FocusRingandTheme::cornerRadius(was a hard-coded blue + fixed 4); inWM_NCHITTESTthe custom title-bar buttons take priority over the resize border (the maximize-button corner is no longer taken byHTTOPRIGHT→ Win11 Snap Layouts can appear). - Engineering:
pch.hno longer includes the library headers (editing a lib header no longer rebuilds the whole PCH); addedUIElement::MarkUserColor()centralising 40+ "user colour" markers; removed dead codeListView::FindEnabledFrom.
- Fix (layout):
- v1.23.0:
- New ·
ZufyUIHwndView.h(HwndView): native HWND content host. Because the main window is NRB+DComp (child HWNDs are not composited), it uses a top-level owned popup as the host;SetContentHwndre-parents the external window as itsWS_CHILD(cross-process allowed) and shows it. Moving the host moves the child natively; clipping = host client +SetWindowRgn(element rect ∩ window client ∩ ancestorGetClipRect, incl. theScrollViewerviewport). SupportsSetObscured,SetOnBoundsChanged,SetFill*. - New ·
Windowexternal-visual attachment:CreateExternalVisual()(WinRTContainerVisualinserted atop the root visual, for WebView2put_RootVisualTarget),SetExternalVisualBounds(DIP→physical px),RemoveExternalVisual;AddOverlaySync/RemoveOverlaySync/SyncOverlays(unified overlay sync). - Performance: overlay sync is now a single window-level point (
WM_MOVE/WM_SIZE/WM_DPICHANGEDimmediate + one shared 16ms fallback timer) instead of a per-instance timer; DPI/client cached; redundantSetWindowPosskipped andSWP_NOSIZE/NOMOVEused as appropriate; the demo's color pattern is cached into a DIB. - Fix ·
NumberBox: the empty-text error clears once the text becomes a valid number;ResetToDefaultforce-clears the error after notifying the app; step/clear buttons fire on press (no re-check against the moving rect; fixes staying red after the × button). - Fix · data-view fill:
ListView/TableView/TreeViewMeasureOverridehonoursSetFillWidth/SetFillHeight(like charts) instead of always returning the default 200/400. - Demo: new "Native HWND" page (GDI color pattern + Card/Grid/Column/ScrollViewer layouts + an out-of-process
--outprocproducer window hosted byHwndView).
- New ·
- v1.23.1:
- Fix (layout / hit-testing):
PageHost::MeasureOverridenow measures every page. PreviouslyPageHostonly arranged pages whilePage::Arrangere-measured solely on a size change, so page content made visible at runtime (e.g. anExpandercard revealed after a combo-box selection) was never re-measured: the new element kept a zeroarrangedRect(no border,HitTestfailed) until the window was resized. Clean pages hit theMeasurecache, so no duplicate work is added.
- Fix (layout / hit-testing):
- v1.23.2:
- Build: added
/bigobjto the Debug|Win32 / Debug|x64 configurations ofZufyUI.vcxproj/ZufyUIDebugger.vcxproj(Release already had it); the full Release/Debug matrix passes.
- Build: added
- v1.23.3:
- Button: the internal
Labelis a real child now (rich content viaGetLabel()->AddChild/SetContent); added the drop 2x2 switches (SetDropWriteBack/SetDropOpenOnClick) and a single-select menu (DropSelected/DropMenuOpened). - Fix ? drop-menu position:
GetDpiScale()returns 96/144 (not 1.0/1.5); the old multiplier sent the menu to the screen bottom-right. Dividing by 96 places it under the button, and the demo no longer shows a MessageBox. - Fixes:
SetBackdrop(Acrylic/Mica)no longer covers the system material with opaque white when no tint is set;ListView::SetItemHeightis clamped to >=1px and Draw/hit-testing no longer divide by zero. - Docs/cleanup: documented
HwndViewcross-process risks; removed the redundantWM_ACTIVATEcheck, added<cstring>, removed the demo's empty callback.
- Button: the internal
- v1.24.0 (contains breaking changes):
- Signal lifetime:
ConnectionState::aliveis atomic;Connection::disconnect/ receiver destruction logically cancels pendingUIThread/NewThreadtasks;Fireconcurrent with signal destruction is explicitly UB. - Receiver context:
UIElement/Windowderive fromConnectionOwner;elem->Connect(...)/Connect(elem, ...)/sig.connect(elem, ...)disconnect with the receiver; added freeConnectandConnectWeak. - Breaking:
ZSignalis neither copyable nor movable; member-function pointers useConnect(elem, sig, &Class::Method)/ConnectWeak;elem->Connect(sig, &Class::Method)is no longer supported. - Notes:
Menu/MenuItem/Timerstill usesignal.connectand do not auto-disconnect; signal arguments are passed as lvalues.
- Signal lifetime:
- v1.25.0:
- New ·
Drawer: left/right/top/bottom × Overlay / Push / Permanent; rounded scrim, rounded panel/border/outer shadow, Esc and outside-click dismiss. - New ·
Window::AddKeyHandler / RemoveKeyHandler: temporary window-level key handlers. - Improvement:
ScrollViewerclip bleed follows the contentGetBleed(); tests renamed tozufyui_tests, signal-focused and Drawer tests added (213 assertions).
- New ·
- v1.29.1: fixed PageHost EaseOut reverse progress, animated hit-test transforms and page-removal indices;
OnPointerCancelis wired toWM_CANCELMODE/WM_CAPTURECHANGEDwith an OLE drag-out exemption;Opening/Openedwork again for menus and non-DWM windows. - v1.29.0: pointer/focus/input feedback (cursor states, pointer cancel, TextBox focus styling/caret/password eye, ComboBox keyboard, Slider release, data-view/scrollbar/Expander cursors); window transitions (
SetTransitionDurations/PresentationState/DefaultWindowSetup); menuQueueToUIThreadand PageHost reverse navigation; Expander/SettingsList/chart font inheritance, MenuBar/Button/EnsureVisible fixes; API doc mojibake and chapter 8 title fixes. - v1.28.0: nonblocking Present / high-refresh pacing (
SetNonBlockingPresent/SetDisplayFramePacing/GetDisplayRefreshHz); privateIDWriteFontCollection; UIA root/child provider teardown andWM_DESTROYevent-map cleanup; menus opt into the same presentation policy by default. - v1.27.3: popup window behavior.
Placement(center owner/screen),FollowOwner,MoveBounds(owner client / monitor work area),CloseReason,RequestClose/ForceCloseand close-veto signals;SetMovable/SetCloseEnabled/SetCloseOnEscape; custom title-bar buttons follow window policy; reliable popup first frame. - v1.27.2:
- Window raw-pointer/UIA lifetime:
Window::ForgetElementcentralizes focus/pressed/capture/hover/tooltip/pending-repaint/UIA provider cleanup;SetParentdetaches before release andUiaDisconnectProviderprevents the CFG crash. TreeView::SetStretchLastColumn(default on) fills the last column; SplitView button direction/disabled state, full-pane slide transition and collapse clamping; TrayIcon v3/v4 click fallbacks; Drawer close refresh; Card margins; password eye button; MessageBox sizing fix.
- Window raw-pointer/UIA lifetime:
- v1.27.1: disabled the experimental independent render thread while preserving VBLANK frame sync; adapted context menus to non-DWM chrome; fixed stale menu-bar hover and menu placement after hiding the title bar or switching to the native frame; resize now submits a new frame immediately instead of leaving a transparent/stale picture.
- v1.27.0:
- Windows 10 Acrylic: enable
ACCENT_ENABLE_HOSTBACKDROPbefore creating the HostBackdropBrush on Win10, preserving the custom blur/tint/noise chain; stop writing Win11-only DWM attributes on Win10. - DWM / Snap: keep
DwmExtendFrameIntoClientArea({1,1,1,1})for custom frames on both Win10 and Win11; reapply frame state afterWM_SIZE/WM_WINDOWPOSCHANGED, fixing lost borders/shadows after Snap. - Render driver: added
RenderDriver/SetRenderDriver()/GetActiveRenderDriver()/GetRenderDeviceName(); the demo supports--warp/--gpuand a restart-based home-page switcher. WARP changes only application content rendering; DWM/Compositor may still use the GPU. - Breaking: removed the public corner API
WindowCorner,SetWindowCorner(),GetWindowCorner()and DSLcorner(); Win10 stays square, Win11 follows DWM, and custom corners require calling Win32 DWM APIs directly. - Controls/demo: title-bar glyphs fall back correctly to
Segoe MDL2 Assetson Win10; the maximize button refreshes after Snap/restore; UI animation updates pause during drag/resize.
- Windows 10 Acrylic: enable
- v1.26.0:
- Layout: explicit Grid size constrains cell measurement; finite Row/Column main-axis allocation for Fill; Card/Page/ScrollViewer honour explicit sizes when empty; Button measures content with autoSize disabled; Label explicit width wraps; ScrollViewer no longer re-measures in Arrange.
- UIA: provider cache/context lifetime synchronized with COM callback threads, fixing CFG
FAST_FAIL_GUARD_ICALL_CHECK_FAILURE. - Controls: Expander first-expand/collapse-re-expand/clipping fixes; ToggleSwitch press-drag; Slider immediate drag, click/snap easing,
GetDisplayValue().