Black space on screen Windows 10 Mobile - windows-10-mobile

I make a simple snake on windows and i need to check current head position on screen. In desktop this works perfect but on phone i got a little problem because i got some black margin/space ? on screen and it doesn't calculate perfect.
Is there any way to check this black space size, or disable this space ?

To fix that, i need to enable full screen mode.

Related

Highlighting Windows or MacOs Screen without impacting clickable area

I want to know if there is a way to highlight specific points on the windows or Mac screen without impacting on application that is running and its clickable area.
To better understand the question, imagine some area of the LCD of laptop is malfunctioning, e.g. pressed and highlighted with purple color. We can still see what is going on underneath the purple area and it is clickable and regardless what is the color of item on that point, it shows purple.
Is it possible to do it by software and programmatically ? Is there any API or something to manipulate output of graphic card for specific point, draw something or highlight without impaction on the application running under it.
I know that I could write it better way, but excuse me since English is not my first language...

Unity- windowed fullscreen black borders

Hi I'm new to unity and playing around to get used to everything.
I have been doing some tests and so far everthing is going ok but I stumbled on something I could not find a descent solution for.
When building the game I have black borders on the side. how can I get rid of them so the game is really full screen?
I disabled the display resolutiong box and hard coded in that the window goes 'Windows fullscreen' but now I have these anoying black borders.
Can anybody push me in the right direction?
Thanks.
This is what i tried as code. but no success.
Debug.Log(Screen.currentResolution); // check if i find the native screen resolution. test passed
Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, true); //getting black borders. set test failed
What is your main camera setup like?
Could also be related to aspect ratio. If you're on a widescreen and it is set to 4:3 then you'll have black borders.

VS2010 Form being cropped at run time on Laptop

Hi I have developed a VS2010 application in Windows 7. I am also using InstallShield Premier to create an Setup.exe/MSI as usual.
The problem is that my splash screen is being cropped on the right hand side when I install on to a laptop which has a screen resolution of 1366 x 768.
(On a desktop of 1900 x 1080 it is fine, both the forms are visible).
My main form is of size 1330 x 848 and appears ok albeit snug.
The Splash screen form is only of size 562 x 398 so this should in theory fit well easy but this form is being cropped by say 25% on the right. So only 75% of the Splash screen is visible missing out the "Skip" button on the right.
This form does have a progress bar using a timer and a centre logo, can't think why this would have any bearing.
I am aware if the Form Autuosize attribute, Autuosize to True and have tried looking in the Installshield parameters to no avail.
I have recently added a background (and stretch to fill) to both Forms which may have some bearing on the matter but doubt it.
Any help would be greatly appreciated,
Thanks in advance.
have you set your splash screen form startposition to centerscreen in properties window? maybe you mess with it and it now starts at the right side.
since you created it in a higher resolution display and run it in a lower resolution will likely cropped. use the autosize from the properties window.

Mouse position doesn't match to JavaScript chart cursor

I'm using Amcharts JavaScript library in Windows application (Xojo,HTMLViewer). It works well.
However, I have an issue.
https://www.dropbox.com/s/e68evm1f0selw2p/IMG_0396.jpg?dl=0
https://www.dropbox.com/s/qgge5kiz1x87qj9/IMG_0397.jpg?dl=0
Mouse position doesn't match to the cursor of Charts, all the time mouse stands leftside of it when I increase the Windows size.
In opposite, when I decrease the windows size, mouse position is right side.
When I start my application for the first time, it matches correctly but in case I increase or maximize the Windows screen, this issue happens.
Do you think this is an issue of HTMLViewer or Amcharts?
Any workaround would be helpful.

DirectDraw application goes black after screen orientation change

I have a directdraw application (in c) that becomes black in color once the user rotates the screen using a button on the application. The button uses enumdisplaysettings to do this. I have tested this on both Nvidia and ATI, the problem persists.
Is there a way to make a directdraw application "displaysettings-proof"? Can I add some code to get back the display once the screen is rotated?
You can use IDirectDraw::RestoreDisplayMode to reset the display mode to whatever it was before IDirectDraw::SetDisplayMode was called. I'm not quite sure if this is what you want however.

Resources