windows-10

How to make EntranceThemeTransition works on a Custom Panel & ItemsSource?

空扰寡人 提交于 2019-12-02 04:13:39
I can't get EntranceThemeTransition to work on a custom panel as ItemsPanelTemplate. See: Simplest code behind: public List<int> MyListExample = new List<int>() {0, 1, 2, 3, 4, 5}; Simplest XAML: <ListView Width="120" ItemsSource="{x:Bind MyListExample}"> <ListView.ItemContainerTransitions> <TransitionCollection> <EntranceThemeTransition FromVerticalOffset="200" IsStaggeringEnabled="True"/> </TransitionCollection> </ListView.ItemContainerTransitions> <ListView.ItemsPanel> <ItemsPanelTemplate> <!--EntranceThemeTransition WORKS--> <ItemsWrapGrid/> <!--EntranceThemeTransition does NOT work--> <!-

cursor sometimes changes from a vertical line to an underscore in Rstudio

。_饼干妹妹 提交于 2019-12-02 03:41:32
问题 I am using R-studio 3.3.3 on a 64 bit windows 10 Acer laptop. I am new to programming in R and I just discovered that my cursor sometimes changes from a vertical line to an underscore in R-studio. Could someone help tell me why? 回答1: Press 'insert' button on your keyboard. hope this will work for you 回答2: This is a very common operation in different software and platforms. The underscore means that you are in Overwrite mode, meaning that anything you type will overwrite the text at the cursor

Ruby executable won't start on Win10 and Win7

蓝咒 提交于 2019-12-02 03:38:01
I wrote a ruby application with Tk, and everything is fine, no errors or such. So i made an exe with Ocra and i had some problems at the start but then i solved, Ocra made the exe with no errors and also when it let's you try your script before conpiling it, there were no problems. But then when i double clicked the exe, nothing. I waited, and nothing.. Run it as admin and nothing again.. I also tried to write a simple script, just like an hello world but always the same issue: No errors popped up on screen or in cmd, but still nothing happens when i run an Ocra ruby executable with TK This is

What is WINAPI_FAMILY_ONECORE_APP?

牧云@^-^@ 提交于 2019-12-02 02:40:03
I was looking through Microsoft's port of OpenSSL on GitHub. One commit caught my eye, and it was Adding Win10 Universal Platform support . In the commit, a partition called WINAPI_FAMILY_ONECORE_APP showed up. However, I'm not finding much about it when searching. There are two hits in English and 22 hits in Chinese (see below). Following What’s new in Visual Studio Tools for Windows 10 Preview provides some quasi-bullet points with no explanations: new API partition WINAPI_FAMILY_ONECORE_APP ARM 64 Universal CRT ... I have two questions: What is WINAPI_FAMILY_ONECORE_APP , and how is it

ascii heart in c++ windows 10 not displaying

江枫思渺然 提交于 2019-12-02 02:26:15
问题 I'm working on a poker game in c++ using Visual Studio Express 2013 on Windows 10. When i use the following code to assign suits to my cards the console displays all question marks in the place of the suits. void printHand(Card hand[]) { const string SUIT = "\3\4\5\6"; const string RANK = "23456789TJQKA"; cout << "Your hand is: "; for (int i = 0; i < SIZE; i++) { cout << RANK[hand[i].ranks] << SUIT[hand[i].suits] << " "; } cout << endl; } When I change the suits to other characters I get the

Syntax error when defining a function on the Python command line

爷,独闯天下 提交于 2019-12-02 01:40:06
I am trying to define a function on the Python REPL. Every time I try to run the below code, I get a syntax error. Code: def hello(): print ("Hello!") hello() Error: C:\Users\~\Desktop>python Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> def hello(): ... print ("Hello!") ... hello() File "<stdin>", line 3 hello() ^ SyntaxError: invalid syntax A possible explanation I've come across on stackoverflow is this post Python Error : File "<stdin>" where it says I can't run scripts

Error: Unable to access jarfile. Encoding issue

≡放荡痞女 提交于 2019-12-02 01:29:52
The problem seems trivial, but could not find a solution so far. C:\Users\User>"C:\Program Files\Java\jdk1.8.0_112\bin\java" -jar "D:\Valya\Учёба\ТРПК\наумов_трпк_лаб2\build\libs\naumov_trpk_lab2-runnable.jar" Error: Unable to access jarfile D:\Valya\?????\????\??????_????_???2\build\libs\naumov_trpk_lab2-runnable.jar The issue appears only when I try to access a jar that is sitting in a dir with non-ASCII name. I am 100% sure I could run jars with such a path when I was on Windows 7, but since I moved to Win 10, no luck. Quoting the path does not help, -Dfile.encoding=UTF8 also. BTW, if I run

ascii heart in c++ windows 10 not displaying

ε祈祈猫儿з 提交于 2019-12-01 23:55:48
I'm working on a poker game in c++ using Visual Studio Express 2013 on Windows 10. When i use the following code to assign suits to my cards the console displays all question marks in the place of the suits. void printHand(Card hand[]) { const string SUIT = "\3\4\5\6"; const string RANK = "23456789TJQKA"; cout << "Your hand is: "; for (int i = 0; i < SIZE; i++) { cout << RANK[hand[i].ranks] << SUIT[hand[i].suits] << " "; } cout << endl; } When I change the suits to other characters I get the right characters like question marks, colons... When I run a for loop to show all Ascii characters, the

How to keep window visible at all times, but not force it to be on top

人盡茶涼 提交于 2019-12-01 20:55:42
问题 I'm creating a "desktop gadget" of sorts, I've disabled manual minimizing of the window, but now there is another problem: the system can still hide the window if the user presses Windows + D , for example. When hidden that way, no usual minimize/resize/visibility events are fired. I want to do something almost like TopMost , but without forcing the window order. Maybe it's possible to install a global shortcut event using win32 API, and briefly set TopMost to true, but that sounds very

Cortana skill not working on Windows 10 or iOS

会有一股神秘感。 提交于 2019-12-01 20:24:32
问题 I have added a Cortana skill using Microsoft Bot Framework. My invocation phrase is "My Skill". When I tried to talk to Cortana in iOS or Windows, it doesn't invoke the skill. Instead, it keep directing me to Bing results. Here are the sentences I talked to Cortana: Start My Skill Ask My Skill to Tell My Skill that Anyone advices? 回答1: One friend fixed this issue, so at the moment Cortana only supports English(United States). To fix it, go to Cortana setting (please note , not the OS language