Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Setsな話

2,070 views

Published on

2018/6/16 Client Dev Day@関西

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Setsな話

  1. 1. Sets 2018/6/16 Client Dev Day Microsoft Yutaka TSUMORI
  2. 2. ◼ Windows 10 Insider Preview SDK 17686 ◼
  3. 3. Agenda ◼ Sets is ◼ Sets ◼ Sets
  4. 4. ◼ Yutaka TSUMORI (a.k.a. tmyt) ◼ Microsoft MVP for Windows Development ◼ C++, C#, NodeJS, etc ◼ ◼  Chrome Timeline – https://github.com/tmyt/chrome-timeline
  5. 5. [ ] Sets ◼ Windows 10 Insider Preview 17650 Sets Sets Windows
  6. 6. Sets ◼  mach2 enable 13849566 -v 1  mach2 enable 10727725 -v 1 ◼  https://github.com/riverar/mach2
  7. 7. Sets ◼ Windows 10 RS5 ◼ ◼ ◼
  8. 8. Sets ◼  Power Point Edge  One Note Excel  Edge ◼ Activity Timeline ◼ Activity
  9. 9. : Activity Timeline ◼ Activity: ◼ Timeline: Activity ◼ PC  PC PDF  PC
  10. 10. demo Sets
  11. 11. Sets … ◼ ◼ ◼ Office ◼ ◼ Visual Studio ◼ Internet Explorer ◼ Slack
  12. 12. ◼ https://msdn.microsoft.com/en- us/library/windows/desktop/mt845794(v=vs.85).aspx ◼ DWM_TAB_WINDOW_REQUIREMENTS
  13. 13. ◼ Sets ◼ ◼ ◼ ◼ DwmExtendFrameIntoClientArea ◼ ◼ ◼ Sets
  14. 14. demo DwmGetUnmetTabRequirements
  15. 15. ◼ Sets  …  SDK
  16. 16. Sets SDK ◼ ◼ BUILD2018 - BRK2412 Developing for Sets on Windows 10 ◼ http://aka.ms/build2018setssample
  17. 17. UWP Sets ◼ Insider SDK 17686 public enum ViewGrouping { Default = 0, // OS WithSource = 1, // Separate = 2 // }
  18. 18. UWP Sets ◼ ViewGrouping  Windows.System.LauncherOptions.GroupingPreference ◼ Launcher.LaunchUriAsync ◼ Launcher.LaunchFileAsync  Windows.System.FolderLauncherOptions.GroupingPreference ◼ Launcher.LaunchFolderAsync ◼ Launcher.LaunchFolderPathAsync  ViewModePreferences.GroupingPreference ◼ ApplicationViewSwitcher.TryShowAsViewModeAsync ◼ ApplicationViewSwitcher.TryShowAsStandaloneAsync
  19. 19. demo UWP Sets API
  20. 20. WPF Sets ◼ BUILD2018 ◼ P/Invoke & COM Interop
  21. 21. ◼ SHELLEXECUTEINFO  fMask = SEE_MASK_FLAG_HINST_IS_SITE  hInstance = IServiceProvider ◼ ShellExecuteEx ◼ Site.UpdateContext(ILaunchUIContext*) ◼  context.SetTabGroupingPreference(GroupingPreference);  context.SetAssociatedWindow(AssociatedWindow);
  22. 22. ◼ DwmSetWindowAttribute  DWMWA_TAB_GROUPING_PREFERENCE ◼ DWMTGP_TAB_WITH_ASSOCIATED_WINDOW ◼ DWMTGP_NEW_TAB_GROUP ◼ DWMTGP_DEFAULT  DWMWA_ASSOCIATED_WINDOW ◼ hWnd
  23. 23. ◼ DwmSetWindowAttribute  DWMWA_TABBING_ENABLED ◼ BOOL TRUE or FALSE (int 1 0)
  24. 24. Sets
  25. 25. Sets ◼  1 ◼ 
  26. 26. Sets ◼ UWP
  27. 27. Sets ◼
  28. 28. Q.Sets
  29. 29. A.
  30. 30.
  31. 31. ◼ ViewGrouping = Default ◼
  32. 32. ◼ …  Shift+Click  Ctrl+Shift+N
  33. 33. Sets ◼ ◼ Timeline ◼ API  ◼ https://aka.ms/build2018setssample ◼ https://blogs.windows.com/buildingapps/2018/06/12/windows-10-sdk-preview-build- 17686-available-now/ ◼ MSDN
  34. 34. C++ Sets ◼ interface … ◼ ILaunchUIContextProvider  ShlObj.h ◼ DWMTGP_TAB_WITH_ASSOCIATED_WINDOW  dwmapi.h
  35. 35. ◼ GitHub  https://github.com/tmyt/SetsSamples ◼ Sets Insider Preview SDK 17686

×