windows 8 gestures on edge of screen - winapi

I have a desktop application running on windows 7 and 8. We implemented gestures using WM_GESTURE to support both windows. When running on windows 8 tablet, if user try to swipe, pan etc from of the edge i.e out side the visible screen, gestures do not work. When i logged the event(messages) application receives, it shows no gesture message.
On metro apps you see menu at bottom of screen when you swipe up from outside the screen area. I want similar functionality with my desktop application. Is this possible? Does desktop app has limitation or i am missing something? I searched over but cannot find a clear cut answer positive or negative.
Further info if of any help. It is a MFC application using both VC++ and C#. Minimum supported version of windows is 7.
One more thing. Our application runs in full screen with no task bar etc, like slide show.

Related

PhoneGap, Windows overflow divs won't scroll on drag, only on release

I have four things: mobile site, iOS app, Android app, and Windows app.
The only time this occurs is on my Windows 10 Lumia PhoneGap app. (haven't tested other windows phones)
The divs with overflow-y do not scroll as you drag a finger up and down. Nothing happens until your finger comes off the device, then it throws the scrollbar. So technically it scrolls, but not in a way you'd expect. It makes it impossible to slowly scroll the page up.
Windows mobile site works as expected, the divs scroll in a controlled manner with the drag of your finger. Works same everywhere else too.
Anyone run into this sort of thing? I couldn't find any user-select, -ms-overflow*, or touchmove e.preventDefault() issues in the code.

Windows 7 (and up) taskbar thumbnail preview not working

My app developped with Unity doesn't display the taskbar thumbnail preview in Windows 7. It just shows a blank square. Is there a setting that I'm forgetting to change here or something that I need to setup in app ?
How do I make this work ?
EDIT : Forgot to mention, this does work when the application is in Windowed mode, however when it is fullscreen and tabbed out the preview will be empty.

Slide horizontal menu for Windows mobile 7 /8?

Hello everyone i am trying to build a horizontal slide menu for a windows mobile 7 app. Any idea how to do that?
That sliding menu is called Navigation Drawer and is a standard UI element for Android OS. It is not recommended on Windows Phone. However, you can mimic it using an offscreen UserControl or Panel.
Take a look at the following blog post: A behavior to implement a scroll-into-view panel (for a Facebook-like GUI) on Windows Phone.

XNA Support Gestures on Windows 7

One of my friends is working on a Windows phone 7 game and XNA allow you to support gestures, now he wants to use the same code so the game will be supported on PC (Windows 7) i want to know how i support gestures on PC with a Touch Screen monitor, i have been looking on the web but apparently this is not so common.
So far the only reference that i have is to recreate the Touch class on C++, that's is not an option on time and budget
Maybe i am missing something obvious please help.
What I know is that a touch screen monitor needs to be handled as a mouse, so your friend needs to change all his gestures with MouseState and detecting left button clicks.
You just need to replace TouchLocations with the location of the pointer.

Why is my application's window border grey in Windows 8, rather than being based off the desktop like other windows?

I have a large legacy application which is showing up with a perpetually grey border on every Windows 8 machine we run it on, while the other windows for other apps accurately use a color derived from the desktop background. For the life of me I can't find out why.
I've tried my best google-fu to crawl MSDN for APIs to control this but came up empty. The app looks like all others in Windows XP, Vista, and 7...just Windows 8 is grey in color. We definitely haven't added Win8 specific code to treat this otherwise.
It's just an MFC window on the outside, but inside it embeds a .NET/WPF component and a Direct3D 9-enabled visual area.
My best guess is it could somehow be related to having a Direct3D surface in the window, but I couldn't validate that anywhere.
Any help would be greatly appreciated!
Thanks
Edit: The grey matches the effect of not having focus, and we definitely do play games with window focus...so that could be it.
The problem was a developer overloaded OnNcActivate() and returned TRUE at the end. They needed to call up to the baseclass's (CWnd) OnNcActivate instead.
This was visible on Windows 7 as well if you looked close enough.
The Desktop in Windows 8 does not use transparency in window borders like Windows 7 and Vista did with the Aero Themes. If you are move the focus to another top window in your app, this could explain why your seeing the grey border. Try changing the colors for windows without the focus to something discernable from grey to verify that is what you are seeing.

Resources