Microsoft Surface Pro - Developments

Everything else that doesn't fall into one of the other PB categories.
Murrough
New User
New User
Posts: 1
Joined: Sat Jun 01, 2013 3:44 pm

Microsoft Surface Pro - Developments

Post by Murrough »

Hi

First Post, so saying Hi. My development project has been to develop an app in pb specifically for the full screen Microsoft Surface Pro. Having spent the last 2-3 months coding on an emulator screen using Fusion on a Mac under Windows 8 (mainly to get true 1920 by 1080 emulation on a desktop), I was eager to try out the real thing when it arrived early in the week. So sharing a few tips, as I discover them.

1) When opening a full screen window (borderless), the #PB_ignore does not work and the OS does not show the window. Changing this to 0,0 for X and y solved the problem when doing a full size (1920,1080) screen. Don't know enough about PureBasic yet to see if theres a way round this. It seems the Windows 8 OS can not decide where to put things on a Surface Pro :)

2) When running under the pure basic environment , the full screen opens at too large a resolution which resulted in about a third of the window showing. To correct this, you have to set the compatibility of the BP compiler itself. Find it using explorer, left click for properties. In compatibility, check the box that says 'disable display scaling on high DPI settings'. You have to do the same for executables as well once you've made them.

3) if you are like me, make sure you have created a tile straight into task manager in case you crash your app. it gets you out of jail quickly.

4) The touch screen of the surface pro is very responsive. When debugging events on mouse changes on the fusion based environment, there are about 3-4 less events on say just touching a button or window than there are firing when running on the Surface.

5) The Surface keyboard has a # symbol in the non shift position on the UK keyboard so I can put the Mac back to UK rather than US mode now as you tend to do for speed on the apple keyboard.

I'll post some more things on Surface Pro as I find them.

Murrough
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Microsoft Surface Pro - Developments

Post by IdeasVacuum »

Very interesting - keep up the good work! 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
ozzie
Enthusiast
Enthusiast
Posts: 444
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Re: Microsoft Surface Pro - Developments

Post by ozzie »

I don't have a Surface Pro or any Windows 8 touchscreen device yet, but will need to ensure my app works in these environments. So thanks for the info - that should be useful for when I get around to getting one of these devices.
Post Reply