windows-10

MDI window title in Windows 10

十年热恋 提交于 2019-12-17 16:49:10
问题 I'm testing Delphi applications on Windows 10 and I was intrigued a difference in rendering the window frames on MDI forms. It is the intention? 回答1: I presume you are talking about the minimise, maximise and close buttons at the right hand end of the caption bar. These buttons are rendered by the system rather than Delphi and the behaviour is as designed. Microsoft deprecated MDI at least 15 years ago and so it's not at all surprising that they have not modified it to match the new style of

Can't import cv2; “DLL load failed”

杀马特。学长 韩版系。学妹 提交于 2019-12-17 16:34:28
问题 I really didn't want to start my own question with this because it seems to be a common error here. However, having wasted hours on this now and having followed every thread I could find, none of the given answers have sorted this for me. So my only option is to provide all the information I can about my set up and hope one of you lot can recognise the problem. I'm running on windows 10(x64) and have installed the following prebuilt binaries from the collection here. python 3.5.0-win32

Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found

Deadly 提交于 2019-12-17 16:33:37
问题 I've read every StackOverflow that I could find on this issue, but I still can't work it out. I'm trying to deploy an app to actual device ( NOT emulator). But I receive the following error when i try to build: Severity Code Description Project File Line Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.': SEHException - External component has thrown an exception. App1 and Severity Code

Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found

拜拜、爱过 提交于 2019-12-17 16:33:02
问题 I've read every StackOverflow that I could find on this issue, but I still can't work it out. I'm trying to deploy an app to actual device ( NOT emulator). But I receive the following error when i try to build: Severity Code Description Project File Line Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.': SEHException - External component has thrown an exception. App1 and Severity Code

Overriding Pivot header foreground brushes in UWP app (Win 10 RTM SDK)

随声附和 提交于 2019-12-17 16:26:13
问题 I'm trying to override the Pivot header foreground theme brushes, but no matter what I do the UWP app just ignores it. Just to be clear, this question is about the UWP Pivot control, not the Win (Phone) 8.1 one. I've used the theme brush override method in a 8.1 app and it worked perfectly. But I can't seem to be able to do the same for a UWP Pivot. I looked for the respective brushes in generic.xaml (and in the Properties pane under Brushes -> System Brush Resources), which are

Reliable way to get Windows Version from registry

白昼怎懂夜的黑 提交于 2019-12-17 12:21:12
问题 I'm checking the windows version in an installer (made with NSIS) by checking the following registry key: HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "CurrentVersion" According to this post and this page from MSDN, the currentVersion number for Windows 10 should be 10.0. I just installed the Windows 10 Pro Insider Preview and the version number given in the registry is still 6.3, instead of 10.10 as it should. Is there another reliable way in registry to detect Windows 10? 回答1:

C++ Check if Windows 10

*爱你&永不变心* 提交于 2019-12-17 12:19:41
问题 I am making an app to OS specific but I can't seem to narrow down Windows 10, it comes up as Windows 8. I have tested it on Window 10 Pro and the outcome is Major: 6 Min:2. Is there another way to check if it's windows 10 more efficiently? EDIT: Found a properly working API RtlGetVersion() works for all OS's properly! #include "windows.h" #include <iostream> using namespace std; BOOL EqualsMajorVersion(DWORD majorVersion) { OSVERSIONINFOEX osVersionInfo; ::ZeroMemory(&osVersionInfo, sizeof

How can a VB 6 app determine if it is running on Windows 10?

大憨熊 提交于 2019-12-17 09:52:49
问题 I would like my VB 6 application to detect and display the version of Windows that is running on. I have tried this code from another Stack Overflow question, but it does not work for me. It displays the correct version number on older versions of Windows (like Windows XP and Vista), but it cannot detect Windows 10. For some reason, it says that Windows 10 is Windows 8. I thought Windows 10 would have a major version of "10" and a minor version of "0", and this chart of Windows version

How to disable HTTP/2 on IIS 10

有些话、适合烂在心里 提交于 2019-12-17 07:30:13
问题 IIS 10 claims to fully support HTTP/2. I'm wondering if there is a way to turn off HTTP/2 on IIS 10. 回答1: To disable HTTP/2 on Windows 10 HTTP.SYS, set the following registry value on the Windows 10 desktop in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters EnableHttp2Tls REG_DWORD 0 EnableHttp2Cleartext REG_DWORD 0 The second of these is only necessary if the failure is with HTTP. The first is for HTTPS. 回答2: This is old - but I thought id share my experience. I noticed

Windows 10 ScrollIntoView() is not scrolling to the items in the middle of a listview

早过忘川 提交于 2019-12-17 06:38:47
问题 I have a Listview with 20 items in it. I want to scroll the Listview programmatically. ListView?.ScrollIntoView(ListView.Items[0]) will scroll the listview to the first item. ListView?.ScrollIntoView(ListView.Items.Count - 1) will scroll the listview to the bottom of the page. However, I am unable to use the same function to scroll the listview to an item in middle. Eg: ListView?.ScrollIntoView(ListView.Items[5]) should scroll and take me to the 5th item of the list. But instead its taking me