@Paul_Crawley wrote:
Lot's of people have asked, heres how to do it
using Windows.UI.Core;
Window.Current.CoreWindow.PointerPressed += CoreWindow_PointerPressed; Window.Current.CoreWindow.PointerPressed += CoreWindow_PointerReleased; put that in your start up code and then this:- private void CoreWindow_PointerPressed(CoreWindow sender,PointerEventArgs args) { SetHardCursorPosition(); } private void CoreWindow_PointerReleased(CoreWindow sender,PointerEventArgs args) { SetHardCursorPosition(); } Followed by this:- private void SetHardCursorPosition() { if(Window.Current.CoreWindow != null) { Window.Current.CoreWindow.PointerPosition = new Windows.Foundation.Point (GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width,GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height / 2); } }
you'll never see that god damn pointer again!
Question for the people on here though? why is it I seem to be the only person writing how too's?
Nobody knew how to hide the cursor? nobody knew how to make ads work using Android or UWP, no-one knew how to do scroll bars on a PC? I thought this was a place for people to know shit? I just solved how to do independent screen resolution, works on every device, IOS, ANDROID, WIN UWP, all of them full screen, I asked here months ago and go zero help. Why do the "think I know" people write so much that never works, that haven't released games or apps do all the talking? Open Platforms such as this are a good thing, Linux was a good thing until I looked at the source code (16000+ GOTO commands!!!!! DICKHEADS), If your gonna do open source, get it right? gamers want to do full screen, they want to show ads, they want to put them on the store (multimedia lib don't work) do it right?
Posts: 1
Participants: 1