windows-8

Windows 8 Touch Toggle

我是研究僧i 提交于 2019-12-23 15:35:03
问题 It is often necessary to disable touch input when using a digitiser pen to avoid 'noise' from e.g. the hand resting on the screen. A programmatic solution exists to disable touch - but maintain pen - input in Windows 7, which changes the TouchGate registry value and broadcasts a system message; it seems that latter part fails in Windows 8. Does anyone know how to update the code / an alternative solution for Windows 8 (note that my system does not allow me to disable touch input via the

How can I disable the arrows on a FlipView?

大城市里の小女人 提交于 2019-12-23 13:32:20
问题 I have a FlipView, which is working great, but I'd like to disable the < and > arrows that fade in while scrolling. 回答1: I think that would break the scenario for keyboard/mouse users, no? You could remove the buttons from the control template if you really need to. 回答2: Here are 2 options. Option 1. In FlipView.Loaded event dynamically remove the arrow buttons. private void flipView_Loaded(object sender, RoutedEventArgs e) { Grid grid = (Grid)VisualTreeHelper.GetChild(flipView, 0); for (int

How can I disable the arrows on a FlipView?

不羁的心 提交于 2019-12-23 13:32:11
问题 I have a FlipView, which is working great, but I'd like to disable the < and > arrows that fade in while scrolling. 回答1: I think that would break the scenario for keyboard/mouse users, no? You could remove the buttons from the control template if you really need to. 回答2: Here are 2 options. Option 1. In FlipView.Loaded event dynamically remove the arrow buttons. private void flipView_Loaded(object sender, RoutedEventArgs e) { Grid grid = (Grid)VisualTreeHelper.GetChild(flipView, 0); for (int

Windows 8 app (html & Javascript) : alternate way to show image from picture library (other that file picker)

感情迁移 提交于 2019-12-23 13:03:46
问题 I have been trying to create an alternate method to get and show images in listview (I mean other than file picker) as the app is already taking too much time to load and process. It turns out I've been missing one single point all this time..that img doesn't take absolute paths as source (src). Code I've used is : var pictureLibrary = Windows.Storage.KnownFolders.picturesLibrary; pictureLibrary.getFilesAsync(query).then(function (items) {....}; Well, the data binding is correct and the

Why is only one touch being injected when using Touch Injection API with WIN8?

江枫思渺然 提交于 2019-12-23 12:29:13
问题 I am trying to test out the Touch Injection API for injecting multiple touches while using Windows 8. To do this I am creating 5 contacts and then simulating hover and then drag and release. This works fine for one touch contact. However nothing changes when I add 4 more contacts i.e. it produces the same as if there was only one contact. (I test by opening Paint on the right side of the screen and visual studio on the left. Then when the program runs a line gets drawn diagonally in the paint

overriding certificate verification in windows8

社会主义新天地 提交于 2019-12-23 12:29:06
问题 I am trying to use a self-signed certificate in a ssl socket on windows8 consumer preview. I am getting this exception: Exception : System.Runtime.InteropServices.COMException (0x800B0109): A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. (Exception from HRESULT: 0x800B0109 . Is it possible to override the validation of ssl certificate ? Something like remotecertificatevalidationcallback , which does not seem to be accessible on

Allow user to use tab in RichEditBox in a Windows 8 App?

别说谁变了你拦得住时间么 提交于 2019-12-23 12:25:00
问题 Right now the tab function moves the focus to the next control, I want it so it just actually tab in the Text Box. I noticed you cannot tab in the Windows 8 Mail app also.... Also is there a RichTextBox alternative? 回答1: Currently (in the RTM release) there is no AcceptsTab like setting for RichEditBox (it only has AcceptsReturn) see also this feature suggestion. However you can subscribe on the KeyDown event of your RichEditBox where you can handle the tab key yourself: private void

How to debug HTTP traffic of a Windows 8 Metro style apps using Fiddler?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 11:45:38
问题 I'm using 'HttpClient' in a Windows Metro style app and want to see the traffic using Fiddler. However, when Fiddler is active I get an exception that the app can't connect to the server. What's the problem? 回答1: The answer is in this article: "Fiddler and Windows 8 Metro-style applications". Turns out that "connecting to Fiddler requires an Application Capability or Loopback Exemption". 来源: https://stackoverflow.com/questions/7619419/how-to-debug-http-traffic-of-a-windows-8-metro-style-apps

Two layouts for two aspect ratios (4:3 and 16:9) - changing automatically

隐身守侯 提交于 2019-12-23 11:44:11
问题 Following the Microsoft scale guidelines there is a part where it says: When designing a fixed layout, start by designing your layout for the baseline resolutions: 1024x768 and 1366x768. Regarding this I have the following question: Is it possible to define two fixed layouts for two aspect ratios (both to be used with the ViewBox to scale to every resolution in that aspect ratio) so they can change automatically depending on the screen's aspect ratio? And maybe change between the fill mode

postgres installation the database cluster initialization failed ( Postgresql Version 9.4.4 )

ⅰ亾dé卋堺 提交于 2019-12-23 11:00:44
问题 I can't install Postgresql. I've tried everything: I run the setup as Administrator. I create a postgresql user an I add it to the Administrator group. I install it directly on C:\postgresql. but without any success. for information: I have windows 8 回答1: First of all run the set-up as administrator. Choose the installation folder inside program files( default) But chose your data location outside from above folder to somewhere else ( c:\postgres data or something.) 回答2: Just don't use EDB