windows-8

MessageDialog closes Popup

ぃ、小莉子 提交于 2019-12-11 17:48:51
问题 in my Popup windows (contains game options control) I have "Reset HighScores" Button. Button fire a MessageDialog with a TextBlock "Are you sure that ..." and two Buttons "Yes" and "No". However, when MessageDialog opens, Popup closes. Do you know how to make popup still alive? 回答1: I was able to get around this using an Action delegate as a callback for when the MessageDialog is closed. The key is to call the Action after an await on MessageDialog 's ShowAsync in an async function. Another

Visual Studio 2012 RC designer does not recognize xaml for a Windows Metro app

自古美人都是妖i 提交于 2019-12-11 17:44:10
问题 I recently installed the release candidate for Visual Studio 2012 and the release preview for Windows 8. I lost xaml intellisense and VS treats xaml as an XML document. Does anybody else have any ideas where to start to fix this problem? 回答1: I simply re-installed Visual Studio 2012 RC. I'm not willing to attempt to reproduce the problem, but I believe this is what I did: Upgrade windows 7 professional with Visual Studio 2010 installed to Windows 8 professional, Installed Visual Studio 2012

Using fabricJS library in Win8 app?

浪子不回头ぞ 提交于 2019-12-11 17:33:47
问题 Has anyone successfully used FabricJS (or other similar libraries) in developing Windows 8 apps? I am trying, but keep getting fatal errors thrown at me (mainly, variables in the fabric file being undefined). I am trying to port a website I created using Fabric JS over, but I am wondering because the site does not work on IE.. so would it even work on Win8 native apps? 来源: https://stackoverflow.com/questions/13328022/using-fabricjs-library-in-win8-app

YouTube video in an iframe in Webview continues to play after navigation

青春壹個敷衍的年華 提交于 2019-12-11 16:48:08
问题 I had to embed a YouTube video in one of my windows 8 xaml apps. I added an iframe in a webView like this. Now my problem is that when I navigate away from the page the YouTube video continues to play. Since the page in which the WebView is not present in the current view after navigation, I am not able to access the iframe as well. Is there a way to stop the video somehow once I navigate away from the page? Thanks and Regards, Ramya 回答1: Do you want to pause the video (and cache the page) so

“type” Command Not Working As Expected on Git Bash

三世轮回 提交于 2019-12-11 16:35:29
问题 The type command, in Linux, returns the location, on the filesystem, of the given file, if it is in the current folder or the $PATH . This functionality is also available on Windows with the Git Bash command line program. However, I have run into what seems like a strange corner case where the file exists on the $PATH but doesn't get returned using the command. I am thinking of buying a new computer soon, so I looked up the method of transferring the license key from one computer to another,

WinRT with VS2010 on Win8?

蓝咒 提交于 2019-12-11 16:34:37
问题 To what extent is it possible and legal to developer WinRT applications with VS2010 Pro? On the one side, I think it should be perfectly possible and legal to create an HTML5/CSS/JavaScript WinRT App with VS2010 Pro since you can probably do so using Win 8 Notepad. On the other side, I think it might be difficult and possibly illegal to create an C# WinRT App via VS2010 Pro since doing so might require the user to circumvent intentional limitations of the VS2010 Pro software. In the old days,

Knowing the reason of DLL loading failed for Windows Store App

妖精的绣舞 提交于 2019-12-11 15:22:50
问题 I tried to use EmguCV library in Windows 8 Store App. Previously, it works fine for a Windows 7 Desktop App project. I ensure my Windows 8 Store App project directory [ C:\Projects\App2\App2\bin\Debug ] is having all the necessary DLLs file. When I execute directly in Microsoft Visual Studio 2012 Ultimate through Local Machine button, I get the following exception. Exception:Thrown: "Unable to load DLL 'opencv_core240': The specified module could not be found. (Exception from HRESULT:

Bind itemDataSource to select html element?

拥有回忆 提交于 2019-12-11 15:09:43
问题 Is it possible to bind a List-Binding to a HTML Select () element to display the contents of the binding as elements? Im using this right now, which doesn't seem to work: <select data-win-options="{itemDataSource: ...)}"></select> 回答1: There is a programmatical way without declarative binding: JavaScript part: // Load data var options = [ { optionValue: 1, optionText: 'One', selected: false }, { optionValue: 2, optionText: 'Two', selected: true }, { optionValue: 3, optionText: 'Three',

Windows Store App - Black Screen Transition for a while

▼魔方 西西 提交于 2019-12-11 14:45:39
问题 i have a problem while navigating between pages of my app. Going from page "a" to page "b", i see a black screen just a second before seeing the page "b". It also happens in the opposite navigation. I know this issue is quite common, also here, but i don't understand how to solve it...and it's very ugly to view... EDIT: just an important information: i've set a custom image as background of both the pages(a,b)...as you can see in the code "Assets/Page.jpg" Here is my basic page "a" XAML:

MFC- Programmatically Disable Charms Bar

佐手、 提交于 2019-12-11 13:47:15
问题 I need to programmatically disable Windows 8 charms bar. On MSDN i can find sample code to do that. However while using that code snippet with Windows 8 SDK installed on my machine i am getting Linker error. The code snippet can be found at System.EdgeGesture.DisableTouchWhenFullscreen I am able to retrieve the PropertyStore pointer but when i try to set the value "PKEY_EdgeGesture_DisableTouchWhenFullscreen" i am get linker error for this property. 回答1: The symbol is exported the following