windows-8.1

C++ console input blocks so i can't kill thread

為{幸葍}努か 提交于 2019-12-07 06:58:00
问题 My program has many different threads handling different things, and one of them deals with user input. The other threads don't have much in the way of blocking calls, and those that do block are network based so will be interrupted or return gracefully when the socket is shut down. However the user thread has calls to std::cin in order to grab the user input. The effect this has is while all the other threads are dead the user thread is still blocking on user input, and will only die the

Windows 8.1 Metro app - Pinch and zoom an Image

£可爱£侵袭症+ 提交于 2019-12-07 04:53:09
问题 Is there any way to implement pinch and zoom the image control inside XAML in Windows 8.1, i am trying Manipulation delta event. But that event not get fired, also i tried setting ManipulationMode="All". <Image x:Name="kn" ManipulationMode="All" ManipulationDelta="kn_ManipulationDelta" HorizontalAlignment="Center" VerticalAlignment="Center" Height="315" Width="360" RenderTransformOrigin="0.5, 0.5"> <Image.RenderTransform> <CompositeTransform></CompositeTransform> </Image.RenderTransform> <

Making ScrollViewer's ScrollBar always visible through overriding or styling

眉间皱痕 提交于 2019-12-07 02:21:44
问题 I'm trying to make the ScrollBar for the ScrollViewer to be always visible so it doesn't only appear when I try to scroll the text view and so the user knows that there is someting more to see. At first, for some reason, I thought that I just have to change the color which needed brush overriding, but in reality, the ScrollBar is fading in and fading out, so either the ScrollViewer's or ScrollBar's template needs to be changed. I found the ScrollViewer's template which I have just placed in

trouble with creating a virtual environment in Windows 8, python 3.3

让人想犯罪 __ 提交于 2019-12-07 01:30:43
问题 I'm trying to create a virtual environment in Python, but I always get an error no matter how many times I re-install python-setuptools and pip. My computer is running Windows 8, and I'm using Python 3.3. E:\Documents\proj>virtualenv venv --distribute Using base prefix 'c:\\Python33' New python executable in venv\Scripts\python.exe Installing setuptools, pip... Complete output from command E:\Documents\proj\venv\Scripts\python.exe -c "imp ort sys, pip; pip...ll\"] + sys.argv[1:])" setuptools

git status only correct if “Run As Administrator”, problems due to Windows VirtualStore

▼魔方 西西 提交于 2019-12-07 00:15:21
I have a git repository for an Excel Addin I wrote, so the path is "C:\Program Files\Microsoft Office 15\root\office15\Library\BTRTools" (That 'Library' path is the required install parent of Excel add-ins for them to work properly, so I can't change it). I have UAC turned on in both Win7 and Win8.1. In Win7 everything works fine, however in Win8.1 I get a status of basically 'everything changed' (but even some weirder stuff of files first mentioned as 'deleted' then mentioned again in same status as 'untracked'. The repository is really 'clean', despite what git status says, but I can't pull

how to use styles defined in ResourceDictionary

柔情痞子 提交于 2019-12-06 23:49:35
问题 I have several common styles and I want to share them in several pages of my Windows 8.1 application. I know that I can achieve with merge dictionaries option, but I have no idea how to use styles defined in dictionary. I tried this: <Page.Resources> <ResourceDictionary x:Key="lol"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Themes/Generic.xaml" /> <ResourceDictionary> <Style x:Key="TextViewAllStyle" TargetType="TextBlock"> </Style> </ResourceDictionary> <

Clipping a low resolution image using Transforms and assigning it to my user control

痞子三分冷 提交于 2019-12-06 23:23:42
问题 I have been working on a Windows 8.1 RT app where the user loads an image with Stretch=Uniform . The image can be as small as possible and as big as possible. The clipping happens in my user control and my user control appears when I tap/press and hold on the screen/image. Clipping happens when when I tap and hold and move my finger/mouse around the image that is in the background. The Problems I am facing are Whenever the app is loaded for the first time on Emulator , and for the very first

Parse Json using Windows.Data.Json in Windows 8 C#

风流意气都作罢 提交于 2019-12-06 17:32:21
问题 This is the json string that I want to parse. Im using the default Json functions available in Windows 8 JSON value: "{\"updated_at\":1405482225,\"settings\":{\"conception_mode\":1,\"app_lock_string\":\"\",\"user_cycle_length\":21,\"week_starts_monday\":1}}" My sample code: JsonObject test1 = JsonObject.Parse(received); var timestamp = test1.GetNamedValue("updated_at").GetNumber(); settingsTimestamp = (long)(Convert.ToDouble(timestamp)); string settingString = test1.GetNamedValue("settings")

Microsoft Root Certificate Authority 2010 not valid

梦想与她 提交于 2019-12-06 16:43:48
On my Windows 8.1 machine (freshly installed), the Microsoft Root Certificate Authority 2010 certificate is listed as not valid (as can be seen on the screenshot below). On the other hand, my Windows 10 machine shows this: What can be the reason for such behaviour? 来源: https://stackoverflow.com/questions/32661107/microsoft-root-certificate-authority-2010-not-valid

Windows 8.1 Emulator does not exist

[亡魂溺海] 提交于 2019-12-06 13:55:56
This question was migrated from Windows Phone Stack Exchange because it can be answered on Stack Overflow. Migrated 4 years ago . I have a Windows 8.1 Pro 64bit installed with Visual Studio 2013 Update 4. I tried to deploy the app on my device and it was successful. Yesterday, i tried to run the app on emulator and facing some problems. I downloaded the emulator from Windows Phone 8.1 Update and Emulator Download contains two files. I tried to install the SDK & Emulation images and setup completed without any problem. Now visual studio is showing the list of emulators in IDE but whenever i