alright this should be straightforward and I just got this window
from this code
and this loose xaml fileCode:using System; using Windows.UI.DirectUI; using Windows.UI.DirectUI.Controls; namespace SimpleTest { /// <summary> /// Class with program entry point. /// </summary> internal sealed class Program { /// <summary> /// Program entry point. /// </summary> [STAThread] private static void Main(string[] args) { var app = new Application(); app.Activated += (_, ae) => { var page = new UserControl(); Application.LoadComponent(page, "MainPage.xaml"); ae.Content = page; }; app.Run(); } } }
Code:<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid x:Name="LayoutRoot" Background="Aqua"> <TextBlock>This is an XAML page</TextBlock> </Grid> </UserControl>
So how much of DirectUI is specific to Windows 8? Isn't it the same UI library used by msn messenger etc.?
eg.
visualstudiogallery.msdn.microsoft.com/1B69C9FE-E422-4799-9EB5-6AC7034C52E1
- maverin
all I can see and read is
of course, I'm grumpy since its midnight here![]()
HAHAH I just realized that I can actually use async/await in my C# code now ! YEAH !
and there is System.Runtime.InteropServices.WindowsRuntime namespace inside mscorlib.
and there is System.Runtime.WindowsRuntime.dll and System.Threading.Tasks.Dataflow.dll, which are new to 4.5.
well I dont think DirectUI.dll is directly related to the 'DirectUI' in DUI70.DLL/DUSER.DLL now, there is no much clue about the connection btween them. I used to think they are related because of the same name, but it turns out not the case. see the discussions in #166 of this thread.
OK, this is from Depends http://xs.to/photo/5662 and this is ProcExp
it turns out, no DirectX at allCode:Process: SimpleTest.exe Pid: 2392 Name Description Company Name Version advapi32.dll Advanced Windows 32 Base API Microsoft Corporation 6.2.7955.0 apisetschema.dll ApiSet Schema DLL Microsoft Corporation 6.2.7955.0 apphelp.dll Application Compatibility Client Library Microsoft Corporation 6.2.7955.0 apphelp.dll.mui Application Compatibility Client Library Microsoft Corporation 6.2.7955.0 clbcatq.dll COM+ Configuration Catalog Microsoft Corporation 2001.12.8885.0 clr.dll Microsoft .NET Runtime Common Language Runtime - WorkStation Microsoft Corporation 4.0.30319.16698 clrjit.dll Microsoft .NET Runtime Just-In-Time Compiler Microsoft Corporation 4.0.30319.16698 combase.dll Microsoft COM for Windows Microsoft Corporation 6.2.7955.0 cryptbase.dll Base cryptographic API DLL Microsoft Corporation 6.2.7955.0 cryptsp.dll Cryptographic Service Provider API Microsoft Corporation 6.2.7955.0 DirectUI.dll DirectUI dll Microsoft Corporation 6.2.7955.0 dwmapi.dll Microsoft Desktop Window Manager API Microsoft Corporation 6.2.7955.0 gdi32.dll GDI Client DLL Microsoft Corporation 6.2.7955.0 iertutil.dll Run time utility for Internet Explorer Microsoft Corporation 9.0.7955.0 imm32.dll Multi-User Windows IMM32 API Client DLL Microsoft Corporation 6.2.7955.0 IPHLPAPI.DLL IP Helper API Microsoft Corporation 6.2.7955.0 kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 6.2.7955.0 KernelBase.dll Windows NT BASE API Client DLL Microsoft Corporation 6.2.7955.0 locale.nls lpk.dll Language Pack Microsoft Corporation 6.2.7955.0 mscoree.dll Microsoft .NET Runtime Execution Engine Microsoft Corporation 4.0.31106.0 mscoreei.dll Microsoft .NET Runtime Execution Engine Microsoft Corporation 4.0.30319.16698 mscorlib.ni.dll Microsoft Common Language Runtime Class Library Microsoft Corporation 4.0.30319.16698 msctf.dll MSCTF Server DLL Microsoft Corporation 6.2.7955.0 msimg32.dll GDIEXT Client DLL Microsoft Corporation 6.2.7955.0 msvcr110_clr0400.dll Microsoft?C Runtime Library Microsoft Corporation 11.0.40126.0 msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.7955.0 nlssorting.dll Microsoft Collation Support Microsoft Corporation 4.0.30319.16698 normaliz.dll Unicode Normalization DLL Microsoft Corporation 6.2.7955.0 nsi.dll NSI User-mode interface DLL Microsoft Corporation 6.2.7955.0 ntdll.dll NT Layer DLL Microsoft Corporation 6.2.7955.0 ole32.dll Microsoft OLE for Windows Microsoft Corporation 6.2.7955.0 oleacc.dll Active Accessibility Core Component Microsoft Corporation 7.0.7955.0 oleaccrc.dll Active Accessibility Resource DLL Microsoft Corporation 7.0.7955.0 oleaut32.dll Microsoft Corporation 6.2.7955.0 profapi.dll User Profile Basic API Microsoft Corporation 6.2.7955.0 psapi.dll Process Status Helper Microsoft Corporation 6.2.7955.0 rometadata.dll Microsoft MetaData Library Microsoft Corporation 4.0.30319.16698 rpcrt4.dll Remote Procedure Call Runtime Microsoft Corporation 6.2.7955.0 rsaenh.dll Microsoft Enhanced Cryptographic Provider Microsoft Corporation 6.2.7955.0 sechost.dll Host for SCM/SDDL/LSA Lookup APIs Microsoft Corporation 6.2.7955.0 secur32.dll Security Support Provider Interface Microsoft Corporation 6.2.7955.0 shell32.dll Windows Shell Common Dll Microsoft Corporation 6.2.7955.0 shlwapi.dll Shell Light-weight Utility Library Microsoft Corporation 6.2.7955.0 SimpleTest.exe SimpleTest 1.0.4180.15303 sortdefault.nlp SortDefault.nls sspicli.dll Security Support Provider Interface Microsoft Corporation 6.2.7955.0 StaticCache.dat UIAutomationCore.dll Microsoft UI Automation Core Microsoft Corporation 7.0.7955.0 urlmon.dll OLE32 Extensions for Win32 Microsoft Corporation 9.0.7955.0 user32.dll Multi-User Windows USER API Client DLL Microsoft Corporation 6.2.7955.0 usp10.dll Uniscribe Unicode script processor Microsoft Corporation 1.626.7955.0 uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.2.7955.0 verdana.ttf Windows.Foundation.WinMD windows.ui.directui.controls.WinMD windows.ui.directui.data.WinMD windows.ui.directui.input.WinMD windows.ui.directui.media.WinMD windows.ui.directui.WinMD wininet.dll Internet Extensions for Win32 Microsoft Corporation 9.0.7955.0 winmm.dll MCI API DLL Microsoft Corporation 6.2.7955.0 winmmbase.dll Base Multimedia Extension API DLL Microsoft Corporation 6.2.7955.0 winnsi.dll Network Store Information RPC interface Microsoft Corporation 6.2.7955.0 WinTypes.dll Windows Base Types DLL Microsoft Corporation 6.2.7955.0 ws2_32.dll Windows Socket 2.0 32-Bit DLL Microsoft Corporation 6.2.7955.0
BUT, I did see some hint inside the exe about D3D9/DWrite/D2D dlls, and GPU Acceleration, shader compiler etc.
also, Spy++ indicates there is only on top window here, no HWND inside.
UPDATE:
if you add this DWORD value "EnableJupiterCachedComposition" = 1
inside registry key HKEY_CURRENT_USER\SOFTWARE\Microsoft\DirectUI\ then D3D10warp.dll/D3D9.dll shows up.
if you add another DWORD value "EnableAcceleratedGraphics" = 1 then D2D1.dll/D3D10_1.dll/D3D10_1core.dll/D3D11.dll/DWrite.dll/DXGI.dll showsup
Last edited by NaiveUser; 12 Jun 2011 at 10:44 AM.
I'll also be interested to see if you can find any kind of references to trident integration in this.. or any HTML DOM references in DirectUI. I'm assuming that Jupiter has a closer integration with HTML than we've heard so far... at least if you were to believe the MS guys giving the demos. Or perhaps the integration is the other way around - that we'll have some proprietary tag in IE10 to include some of this xaml.
- maverin
the window class name is the second parameter of CreateImmsersiveWindow, I used 'EDIT' in my demo, other apps use their own classes they registered themselves. and I remember I have messed it up with my own WNDCLASSEX, well, maybe I will try that later.
I think the 'Immersive Window' thing is a low-level Win32 window management concept, and its not related to any specific UI toolkit or framework, to you its just a HWND.
Bookmarks