microsoft-metro

Windows 8 Metro Settings Flyouts don't seem to work in Javascript?

感情迁移 提交于 2019-12-10 17:57:12
问题 I've recently been trying to create a metro app for Windows 8 and tried to use settings flyout. So I followed msdn quickstart: http://msdn.microsoft.com/en-us/library/windows/apps/hh780611.aspx However, I can't make it work. Here's the part where I add the settings flyout: function setupSettings() { app.onsettings = function (e) { e.detail.applicationcommands = { 'serv_changer': { title: 'Change Server', href: 'settings.html' } }; WinJS.UI.SettingsFlyout.populateSettings(e); } } The function

Metro Style Loading Js From Online

这一生的挚爱 提交于 2019-12-10 17:54:54
问题 I'm working with Visual studio 2012 ultimate on Windows 8. I'm developing a html5/js metro-style-application. I want to dynamicly load my js file from online. Like; <script src="http://example.com/js/myJsFile.js"></script> But metro application says; APPHOST9601: Can’t load http://example.com/Scripts/myJsFile.js. An app can’t load remote web content in the local context. How can I solve that problem ? Thanks... 回答1: You can only include external js files from pages running in the web context.

How to set vertical offset for popup having variable height

天涯浪子 提交于 2019-12-10 17:10:02
问题 I am developing Windows 8 (I know Windows 8.1 has Flyout control) app using C#/XAML. I want to show a flyout menu like given below. Now originally it has total 10 options but based on context I am showing certain amount of options, so the usercontrols doesn't have fixed height, it's Auto. I followed this article to correctly appear flyout on appbar button click. But it's not useful for me because it's using usercontrol's height and for my case it's NaN . So any one has any better solution to

How StarDock's ModernMix work? [closed]

我只是一个虾纸丫 提交于 2019-12-10 16:43:24
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I found StarDock's ModernMix today, with it we can run Windows 8 modern applications on classic desktop. Do we know how it works? Thanks, Navneet 回答1: I guess there is some control (ActiveX?) that can run a Metro App, but that's probably not publicly documented anywhere 来源: https:

Size limit of local folder?

烂漫一生 提交于 2019-12-10 15:13:36
问题 My C#/XAML WinRT app makes use of ApplicationData.LocalFolder to store data. I'm wondering if there's any size limit for this folder. I didn't find any information on the web/MSDN... Is this folder limited in size or not? 回答1: As you can read in the documentation available at http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx: There are no general size restriction on local data stored. 来源: https://stackoverflow.com/questions/12857077/size-limit-of-local-folder

Python support for Windows 8 [closed]

孤人 提交于 2019-12-10 14:58:48
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Can we develop apps for Windows 8 or Windows RT in Python? If yes, then please tell me. 回答1: A Google search gave this result from

Windows 8 and F# [closed]

霸气de小男生 提交于 2019-12-10 14:55:19
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . So, since one cannot build metro style apps with F# and it isn’t possible to reference a F# library from within a metro style app,

Are preferred font sizes in Windows8 going to require a calculator?

荒凉一梦 提交于 2019-12-10 14:43:55
问题 While looking at some official Windows8/"Metro" material, I see this line of xaml: <TextBlock Text="Contoso Cookbook" FontFamily="Segoe UI" FontWeight="SemiLight" FontSize="26.667" /> What?!? A font size of 26.667? I realize this is 2/3rds of 40, and 5/6ths of 32, so maybe there's some conversion thing happening there, but is this going to be the preferred way of setting font sizes, and if so, what are the guidelines for coming up with these seemingly random sizes? 回答1: There are pre-defined

How often can a Windows 8 Live Tile be updated?

拜拜、爱过 提交于 2019-12-10 14:03:11
问题 I'm new to Windows 8 and I'm particularly interested in Live Tiles. I was wondering - How frequently can an app update a live tile? For example, is it possible to create a clock with seconds? 回答1: A Live Tile update every second is far too frequent. The MSDN guidelines for Live Tiles documentation does not set explicit limits on how often a tile can be updated, but does make a few recommendations about the frequency of updates. For an app with very frequently changing content, the highest

Global Dispatcher in WinRT?

帅比萌擦擦* 提交于 2019-12-10 13:55:20
问题 I have some WP7 code that looks like this: using System.Windows; using System.Windows.Threading; public static class GlobalDispatcher { public static Dispatcher Current { get { return Deployment.Current.Dispatcher; } } } What is the equivalent in WinRT? Is there no globally accessible Dispatcher (or CoreDispatcher) object? 回答1: You will want to use Window.Current.Dispatcher . 回答2: Just adding this as answer, as it better solves the problem in my opinion: Window.Current is null if the