DirectUI and duixml Format
DirectUI is a windowless UI rendering engine that draws all control elements within a single window context without creating individual system handles (HWNDs), managing its own component tree, positioning, animation, and input event dispatching.
Note that, at this stage, this article contains a manually written dump of various data from the duixml markup format used by this engine; much remains unexplored, and the lists are incomplete.
Files with UIFILE section
- accessibilitycpl.dll
- ActionCenter.dll
- ActionCenterCPL.dll
- appwiz.cpl
- authui.dll
- autoplay.dll
- AuxiliaryDisplayCpl.dll
- biocpl.dll
- CertEnrollUI.dll
- defaultlocationcpl.dll
- DeviceCenter.dll
- DiagCpl.dll
- diagperf.dll
- Display.dll
- dpapimig.exe
- duser.dll
- DXP.dll
- DXPTaskRingtone.dll
- DxpTaskSync.dll
- ExplorerFrame.dll
- FirewallControlPanel.dll
- fontext.dll
- fvecpl.dll
- fvewiz.dll
- gameux.dll
- hgcpl.dll
- ieframe.dll
- ieui.dll
- Magnify.exe
- mmc.exe
- msdt.exe
- ncryptui.dll
- netcenter.dll
- networkmap.dll
- OnLineIDCpl.dll
- OobeFldr.dll
- osk.exe
- pcaui.dll
- PerfCenterCPL.dll
- pnpui.dll
- powercpl.dll
- racpldlg.dll
- recovery.dll
- sdcpl.dll
- SensorsCpl.dll
- sethc.exe
- sharemediacpl.dll
- shell32.dll
- shellstyle.dll
- StikyNot.exe
- stobject.dll
- sud.dll
- SyncCenter.dll
- systemcpl.dll
- taskbarcpl.dll
- themecpl.dll
- timedate.cpl
- TSWorkspace.dll
- UserAccountControlSettings.dll
- usercpl.dll
- Utilman.exe
- VAN.dll
- Vault.dll
- wdc.dll
- werconcpl.dll
- WindowsAnytimeUpgradeResults.exe
- wlanpref.dll
- WmpDui.dll
- wpccpl.dll
- wucltux.dll
- xwtpdui.dll
- mspaint.exe
- UIRibbonRes.dll
- WMPDMC.exe
- comctl32.dll (v. 6)
Tags
<AccessibilityCplPage><accessiblebutton><actclipper><actexpando><AppControlHost><AppControlsModule><AppControlsModuleInner><ARPAutoButton><arpclipper><arpexpando><arpframe><ARPSelector><autobutton><AutoplayCplPage><AutoScrollViewer><AuxCplPage><bind><BiometricsPage><browser><BrowserFrame><button><Button3d><CCAnalogClock><CCAVI><CCCheckBox><CCCommandLink><CCDigitalClock><CCHScrollBar><cclistview><CCListViewEx><CCMonthCal><CColumnOverflowElement><CCProgressBar><CCPushButton>(Common Control Push Button) – essentially just a standard Win32 button.<ccpushbutton><CCRadioButton><CCRichEdit><CCSysLink><CCTrackBar><CCVScrollBar><checkboxglyph><CIDGroupControl><clientblock><clientpicker><Clipper><ComboBox><ComboBoxEx><contact><contactlist><ControlPanelCategoryModule><ControlPanelLink><ControlPanelNavPane><CreateKeyDialog><DefaultLocationCplPage><DeviceBrandingModule><DeviceImage><DiagCplPage><DUIAnimationStrip><DUIComboBox><duixml>– the main tag containing everything.<Edit><element><ElevatedCPLPage><EmptyLibraryPage><Expandable><Expando><expandobuttonglyph><FadeElement><FirewallCplPage><FirstRunElement><flyoutscrollviewer><FocusIndicator><FolderBandModule><FontSettingsPage><FveCplPage><GamePreviewModule><gradientline><HealthCenterCPLPage><HgCplPage><HWNDElement><hwndview><IEActivity><IETab><IETabBand><IETabOverlay><if><ifgreaterequal><iflesser><InfoBarHostModule><InfoPane><InPlaceEdit><ItemGridLayout><ItemRowLayout><KeyDescArea><LibraryPaneModule><LineHScrollBar><LineScroller><LineViewer><LineVScrollBar><LinkedViewer><LogoFrame><Macro><MainFrame><MapCplPage><MetadataDisplayElement><MetadataElement><MetadataLabel><MonitorElement><movie><msdtedit><msdtlistview><NavigateButton><NetworkMap><NoteControl><ocmframe><OCMTreeView><OnlineIDPage><PageAssignClip><PageDeviceSettings><pages><PaintSurrogate><PercentFull><PerfCenterCplPage><PowerCplPage><PowerFlyout><PreviewBackground><PreviewMetadata><PreviewThumbnail><ProperTreeHost><ProperTreeModule><ProvLinkButton><PText><pushbutton><RadioSelector><ReadingPaneModule><RecoveryPage><repeatbutton><repeater><ResolutionControl><RestrictedEdit><ScrollBar><scrollviewer><SearchEditBox><SearchEditBoxHost><SearchOnlyLibraryPage><SearchPageText><Selector><SelectorNoDefault><ShareMediaCplPage><Sizer><style><StyledScrollviewer><stylesheets><sudCplPage><SystemCPLPage><TaskbarCniCplPage><TaskbarScaCplPage><taskbutton><TemplateBackground><ThemeCplPage><thumb><ThumbnailControlHost><UIBase><UICheckbox><UICollection><UIColumnHeader><UIColumnHeaderCheckbox><UICount><UIDetailsPropertyCollection><UIExpandoButton><UIGroupHeader><UIGroupItem><UIImage><UIItem><UIItemsView><UIMarqueeSelector><UIProperty><UIRenameTextElement><UIRootItem><UISmartProperty><UISmartPropertyCollection><UISubsetFooter><UITilesPropertyCollection><UITryHarder><UITryHarderButton><UIViewHeader><unless><UseKeyDialog><UserList><UserOobePreviewModule><UserTile><VanUiAdapterTileButton><VanUiAdapterTileButton><VanUiNetworkTileButton><viewer><ViewHost><VolumeHandlerSetting><Watermark><WallpaperPage><webbrowser><WebBrowserModule><WHCExpando><WHCRepeater><wizardedit><WMPDMCButtonHC><WMPDMCElementHC><WMPDMCPlaylistButton><WMPDMCThumbHC><wmpdmcslider><WorkspacesPage><ZoomableElement>
Attributes
AbsorbsShortcut– true, falseaccdefaction(Accessibility Default Action?) – click, press, invokeaccdescaccessible– true, falseacchelpaccitemstatusaccnameaccrole– statictext, text, graphic, PushButton, buttondropdown, link, List, ListItem, radiobutton, checkbutton, pane, Grouping, window, client, titlebar, ColumnHeader, scrollbar, row, cell, Table, combobox, clock, slider, applicationaccStateaccvalueactive– mouse, keyboard, inactive, nosyncfocus, mouseandkeyboardalignmentmode– jaggedbottom, baseline, justifyalpha– from 0 to 255AlwaysGetIconFromView– true, falseanimation– alpha, position, sizev, rectangle, rectanglev, linear, s, exp, veryfast, fast, medium, slow, delayshort, 0autogrouping– true, falseAutoStart– true, falseAutoStop– true, falsebackgroundBackgroundOwnerIDbordercolorborderstyle– raised, solid, sunken, 0, 1, 2borderthicknesscapabilities– selectable, focusable, renameable, filenameoptionalcaptured– true, falseclassclienttypecolumncolumncountColumnIndexcolumnpaddingcolumnsmaxcolumnspancountcolumnspercentcolumnwidthcompressed– true, falseconnectcontentcontentalign– topleft, topcenter, topright, middleleft, middlecenter, middleright, bottomleft, bottomcenter, bottomright, wrapleft, wrapcenter, wrapright, wordellipsis, endellipsis, pathellipsis, editcontrol, focusrect, noprefixContentTypecursor– hand, arrow, IBeam, sizens, sizewecustomcustomlayoutDevirtualizeItems– true, falsedirection– 0DisablingPolicyDownOrRightGrowsTarget– true, falseDPIdrophighlight– true, falseElementZoomed– true, falseEnableActivation– true, falseenabled– true, falseEnableHitHighlighting– true, falseencrypted– true, falseEvaluatingAsyncState– true, falseexpandexpanded– true, falseExplorerVisibilityfirsttabtargetfontfontfacefontquality– cleartypefontsizefontstyle– none, underline, shadow, italicfontweight– normal, boldForceUseIcon– true, falseforegroundFramePersistTypeGrowTargetFirst– true, falseheightHidePropertyhighcontrastHighDPI– true, falsehighlightcolorHostedSiteTask– true, falsehoveredover– true, falseidinfotipcallback– true, falseinitialbackgroundInitialMaxxedOut– true, falseInitialSizeInitialVisibility– true, falseIsStatusBarStyle– true, falseitemmaxsizeitemminsizeitemspacingJumpToClick– true, falsekeepmstextkeeptextkeyfocused– true, falsekeywithin– true, falselayoutlayoutpos– left, top, right, bottom, client, ninetopleft, ninetop, ninetopright, nineleft, nineclient, nineright, ninebottomleft, ninebottom, none, absolute, 2LogicalImageSizemarginmaxlengthmaxnumtextlinesMaxPixelWidthMaxThumbSizeMaxVisibleItemsmaximummaxwidthminimumminimumicontextwidthminsizeminvisiblewidthminwidthModuleIDmousefocused– true, falsemousewithin– true, falsemultiline– true, falsenavigationtargetrelativenavigationtargetrootnoteNullSelectPropertyStringothermsclientsoverhang– true, falsepaddingpagepasswordcharacterpicktextpinning– pinvert, pinbothpressed– true, falsePrioritySizerPressedPaddingShiftpropertypropertycanonicalnamepropertyindexproportional– true, falsepropwidthpatternReadOnly– true, falserealxanchorrealxtargetrealyanchorrealytargetrepeat– true, falseReservedMasterReservedSpaceReservedTargetresidResizable– true, falserowrowcountrowspancountscrollticksselected– true, falseSeparatorLineHeightSeparatorPaddingshadowintensitysheetshortcut– none, auto, -1, 115, 80showcheckboxes– true, falseShowFocusRect– true, falseShowLabel– true, falseShowSelectedHeader– true, falseshellexecuteshellexecuteparamsshellexecuteverb– runassizingtargetSlidesUpAndDown– true, falseSmoothingMode– highsortcolumnSortDirection– Ascending, DescendingSortedBy– true, falseSplitButtonSheetsubtextTaskButtonSheetTextGlowSizethemedborder– true, falseThemeSubAppThumbnailIdTileZoomed– true, falsetinttooltip– true, falsetooltipmaxwidthTopCollection– true, falsetransparent– true, falseUICollectionCreationPropMapUIItemCreationPropMapUnderlineMode– Hover, Always, NeverUseGroupZoom– true, falseUseImageHeight– true, falseUseItemWidth– true, falseUseRootScope– true, falseVertical– true, falsevirtualdirection– horizontalvisible– true, falsewidthwidthpatternwidthpatternmapWindowActive– true, falsewindowsclientwinstylexxbarvisibility– never, asneededxscrollable– true, falseyybarvisibility– never, asneeded, alwaysyscrollable– true, falseZeroText
Functions
rgb(0, 132, 217)– Specifies an opaque color in "Red, Green, Blue" format.argb(0, 0, 0, 0)– Specifies a color with an alpha channel in "Alpha, Red, Green, Blue" format.rect(10rp, 10rp, 10rp, 10rp)– Specifies a rectangular area or margins in "Left, Top, Right, Bottom" format.atom(title)baselinelayout()borderlayout()centeringlayout()composited(themeable(gtmar(AeroWizard, 1, 0, 3602), rect(0rp, 0rp, 30rp, 2rp)), rect(0rp, 0rp, 30rp, 2rp))dfc(3, 0x0001 | 0x1000)dtb(TaskDialog, 1, 0)
dtb(BrowserTabBar::Rebar;Rebar,6,0)filllayout()
flowlayout(0,0,1)floatingheaderlayout()flowlayout()
FlowLayout(0, 2, 2, 2)gradient(rgb(0,132,217), rgb(0,36,58), 1)
gradient(argb(100,140,180,180),argb(160,140,160,220),argb(60,140,220,240),3)graphic(512,0)
graphic(0x8709,2,-1,0,0,0,0,library(explorerframe.dll))gridlayout(1,2)
gridlayout(1,-1)gtc(TaskDialogStyle, 2, 0, 3803)(Get Theme Color)gtf(TaskDialogStyle, 2, 0)(Get Theme Font)gtmar(TaskDialog, 1, 0, 3602)(Get Theme Margin)gtmet(TaskDialog, 13, 0, 2417)horizontalborderlayout()icon(81,sysmetric(49),sysmetric(50),library(imageres.dll))
icon(0x148, 24rp, 24rp)
icon(1, sysmetric(11), sysmetric(12), library(actioncenter.dll))library(shell32.dll)NineGridLayout()overflowlayout()resbmp(205)
resbmp(12224,2,-1,0,0,1,1)resstr(1101)
resstr(0x9564, library(shell32.dll))
resstr(IDS_HELP)rowlayout(23)
rowlayout(24,3,3)sgraphic(59)
sgraphic(300,2)
sgraphic(299,2,-1,0,0,1,1)shellborderlayout()size(76rp,23rp)sysmetric(71)
sysmetric(-4)sysmetricstr(2)tablelayout(0,0,0,2,-50,0,2,-50)themeable(dtb(TaskDialog, 1, 0), threedface)verticalflowlayout(0)
verticalflowlayout(0,0,3)
verticalflowlayout(1,1,1,2)viewareaawarelayout(borderlayout)
viewareaawarelayout(filllayout)
viewareaawarelayout(verticalflowlayout,1,0,0,0)