windows-10

Keep window maximized with AutoHotkey?

时光怂恿深爱的人放手 提交于 2019-12-23 02:59:07
问题 I have an AutoHotkey script that launches an application maximized like this: `Run, myprogram.exe,, Max` It then gets rid of the minimize and restore buttons. I can still click on the task bar and drag downwards to restore the window. Is there any good way to keep my window maximized in AHK? How about just locking the window's position? 回答1: Does the F11 key maximize the app? When in F11 mode most apps completely lose their title bar. If so, run the app then send an F11 key (You may need to

Grid Scroll Behind Modal Window

淺唱寂寞╮ 提交于 2019-12-23 02:45:16
问题 I have built a MCV of this problem, and I'm happy to upload it. I'll try to describe the problem first. Create a main window and place a TDBGrid connected to a table through any database available. OnShow of the window connect to the database and open the table. Create a button on the main window that launches a non-modal window. On the non-modal window create a button that launches a modal window. Follow these steps carefully to replicate the problem. Run the application. Put focus into the

Using openCV on a UWP Windows 10 Application

好久不见. 提交于 2019-12-23 02:34:41
问题 Is there a way to use OpenCV libraries on a UWP application for Windows 10 without needing to create my own wrappers around openCV or purchasing Emgu CV wrappers? I am aware that there is Android and iOS support (as stated in their page) but no reference for UWP or Windows 8 store apps whatsoever. It just states that Windows is supported. 回答1: Yes there is, but I think it is not offical yet, or maybe not finished/tested. It is developed at Microsoft and most of it should be merged into master

Catastrophic failure in xaml binding

≡放荡痞女 提交于 2019-12-23 02:31:15
问题 I am developing Windows 10 Universal App. I have code below: xaml: <Page x:Class="MyProject.BlankPage1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:MyProject" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" > <ItemsControl ItemsSource="{Binding}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate>

System.Diagnostics.Process not working in Windows 10

a 夏天 提交于 2019-12-23 02:03:44
问题 I'm working in a UWP app in which I need to launch Microsoft Edge or Internet Explorer when the users clicks on a button. I've found that the way to do it is calling the System.Diagnostics.Process.Start() but I get: The type or namespace name 'Process' does not exist in the namespace 'System.Diagnostics' I've tried to install it with NuGet but I've gotten several Exceptions also... I've also tried using Launcher, but it hasn't done anything: await Launcher.LaunchUriAsync(new Uri("LINK"));

Error while installing Hadoop 2.7.2 on Windows 10

落爺英雄遲暮 提交于 2019-12-23 01:52:56
问题 Getting this error while trying to execute any hadoop related cmd operations: `Error: JAVA_HOME is incorrectly set. Please update C:\Hadoop\hadoop-2.7.2\conf\hadoop-env.cmd '-Xmx512m' is not recognized as an internal or external command, operable program or batch file.` My JAVA_HOME is set to C:\Program Fies(x86)\Java\jdk1.8.0_91 in the environment variables. I've also changed C:\Hadoop\hadoop-2.7.2\etc\hadoop-env.sh , and made JAVA_HOME equal to the above value. 回答1: Spacing is the problem

Programmatically override the High DPI awareness

旧巷老猫 提交于 2019-12-23 00:42:33
问题 There is a new option for the End User in Windows 10 Creator's Update Edition. The End User can change properties for an EXE on the compatibility tab to "Override High DPI Scaling Behavior" and set it to System (Enhanced). I tested it and it works well for some classic win32 apps. I want to to do this by code through an API call or through the manifest. There is no information on that. Is that possible? From the comment I got, it want to clarify that this is a NEW CREATORS UPDATE FEATURE and

Relative width for UI Elements with RelativePanel in XAML with UWP Apps

风格不统一 提交于 2019-12-22 18:19:14
问题 I want to realize something like |Image (40% Width)|Text(60% Width)| that adapts to small screens like |Image (100%)| |Text(100%| I've got the following solution with AdaptiveTrigger and an Grid. <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="VisualStateGroup"> <VisualState x:Name="NarrowView"> <VisualState.StateTriggers> <AdaptiveTrigger MinWindowWidth="0" /> </VisualState.StateTriggers> <VisualState

Running Tomcat from windows 10 bash shell

雨燕双飞 提交于 2019-12-22 18:15:22
问题 I installed tomcat server on windows10 bash shell. Though it says apache is running.. its not opening admin panel in browser. Browser says 'Connection can't be reached' Have someone tried this ever before? Please share your inputs. Thank you 回答1: I am assuming you are referring to Bash for Windows (Ubuntu) on Windows 10. Yes Tomcat server can be installed and run from Bash for Windows with no need to install Tomcat in the Windows environment. First, you may want to check if any local server

Why do I need to change IE settings to enable HTTP/2 on Windows 10?

强颜欢笑 提交于 2019-12-22 12:38:38
问题 I recently enabled HTTP/2 on a site I was developing. To do this I had to Be on Windows 10 Use a browser that supports HTTP/2 (in my case Chrome) Configure my webserver (iisexpress) to serve the site using https Enable HTTP/2 in the Internet Explorer options It all works, but I'm confused about why 1 and 4 are necessary. Especially 4 as I'm not actually using Internet Explorer. Now the above link suggests that it has something to do with the WININET library and I understand that IE options