How do i disable edge gestures in windows 8.1 on a dell tablet ? i need to lock down my full screen app.

This is my current code. I am using window property PKEY_EdgeGesture_DisableTouchWhenFullscreen, but when i run it on dell venue 8 tablet running win8.1, i always get same error from SHGetPropertyStoreForWindow :
Err = 0x80004002    E_NOINTERFACE    No such interface supported
    Structure PROPERTYKEY
        Dim fmtid As Guid
        Dim pid As UInt32
    End Structure
    Private Interface IPropertyStore
        Sub GetCount(ByRef cProps As UInt32)
        Sub GetAt(ByVal iProp As UInt32, ByRef pkey As PROPERTYKEY)
        Sub GetValue(ByRef key As PROPERTYKEY, ByVal pv As Object)
        Sub SetValue(ByRef key As PROPERTYKEY, ByRef pv As Object)
        Sub Commit()
    End Interface
    Public Class PropertyStore
        Implements IPropertyStore
        Public Sub Commit() Implements IPropertyStore.Commit
        End Sub
        Public Sub GetAt(ByVal iProp As UInteger, ByRef pkey As PROPERTYKEY) Implements IPropertyStore.GetAt
        End Sub
        Public Sub GetCount(ByRef cProps As UInteger) Implements IPropertyStore.GetCount
        End Sub
        Public Sub GetValue(ByRef key As PROPERTYKEY, ByVal pv As Object) Implements IPropertyStore.GetValue
        End Sub
        Public Sub SetValue(ByRef key As PROPERTYKEY, ByRef pv As Object) Implements IPropertyStore.SetValue
        End Sub
    End Class
    <DllImport("shell32.dll", SetLastError:=True)> _
    Private Function SHGetPropertyStoreForWindow(ByVal handle As IntPtr, ByRef riid As Guid, ByRef propertyStore As IPropertyStore) As UInt32
    End Function
        '    ' 20140804 support disable of edge swipes when run fullscreen in windows 8
   ' name = System.EdgeGesture.DisableTouchWhenFullscreen
   ' shellPKey = PKEY_EdgeGesture_DisableTouchWhenFullscreen
   ' formatID = 32CE38B2-2C9A-41B1-9BC5-B3784394AA44
        Dim g As Guid = New Guid("32CE38B2-2C9A-41B1-9BC5-B3784394AA44")
        Dim PropStore As IPropertyStore = New PropertyStore
        Dim rc As UInt32 = SHGetPropertyStoreForWindow(HWnd, g, PropStore)
        ' 0x80004002    E_NOINTERFACE    No such interface supported
        ' S_OK    Operation successful    0x00000000
        If (rc = 0) Then
            Dim PKEY_EdgeGesture_DisableTouchWhenFullscreen As PROPERTYKEY
            PKEY_EdgeGesture_DisableTouchWhenFullscreen.fmtid = New Guid("32CE38B2-2C9A-41B1-9BC5-B3784394AA44")
            PKEY_EdgeGesture_DisableTouchWhenFullscreen.pid = 2
            Dim bVal As Boolean = True
            PropStore.SetValue(PKEY_EdgeGesture_DisableTouchWhenFullscreen, bVal)
        End If

You are passing PKEY_EdgeGesture_DisableTouchWhenFullscreen where it expects IID_IPropertyStore. 
Visual C++ MVP

Similar Messages

  • How do I disable zip folders in Windows 7?

    I like to use a third-party archive application, so I really don't like how by default Windows makes zip files expand automatically in Windows Explorer and show up in the folder view.
    So... How do I disable zip folders in Windows 7?
    In XP and Vista, I was able to find solutions to remove this "feature" 
    In XP, I simply did...
    regsvr32 /u zipfldr.dll
    In Vista, I had to remove a couple registry entries:
    Windows Registry Editor Version 5.00
    ; Disable ZIP support in Windows Vista
    ; restart Windows after applying this patch
    [-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
    [-HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}]
    I don't want to guess and delete the wrong registry entries if someone else knows which ones I need to remove.

    EDIT - I HAVE FOUND A SOLUTION
    After considerable browsing (thank you, Google), I have a solution that works. It is based on fixes for Vista, but works 100% for my Windows 7 64-bit install. 
    You will need to edit your registry (delete 2 different keys), so I highly recommend you back up your registry or better yet, make an image of your OS drive (probably C:\). I use Norton Ghost 2003 (only from a NG 2003 boot floppy) and have never had a single problem. Norton Ghost does not have to be installed on your system for this to work (in fact, it will stall due to compatibility issues). 
    First a note regarding the various reg tweaks that are available for download (e.g., "vistaunzip.reg"). These will NOT work - undoubtedly due to ownership/permissions issues. 
    The following two (2) keys need to be deleted fromthe registry:
    For zip files delete the regkey
    HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}
    For cab files delete
    HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}
    When you try to delete them, you will almost certainly get an "access denied" or "failed" type of message. Before you can delete them, you need to change the permissions/ownership of these two keys. Here is how to do it:
    01 - open regedit from the RUN console
    02 - navigate to the first key that needs to be deleted (HKEY_CLASSES_ROOT\CLSID\{E88DCCE0- B7B3-11d1-A9F0-00AA0060FA31})
    03 - right click on the key and select "Permissions"
    04 - click on "Advanced"
    05 - click on the "Ownership" tab
    06 - in the "change owner to" section, highlight your username
    07 - check the box for "replace owner on subcontainers and objects"
    08 - click on "Apply"
    09 - Click "OK"
    10 - Under "Security" tab, highlight your username and check the box for "Allow Full Control" (located mid-menu in the "Permissions For Administrators" section)
    11 - click "Apply" and "OK"
    12 - you can now delete the registry key. MAKE SURE YOU ARE ON THE CORRECT KEY!
    13 - repeat the process for the 2nd key.
    14 - reboot (changes will NOT take effect until you reboot
    15 - VOILA! NO MORE ZIP FOLDERS! woohoo!
    16 - thanks to the original solvers of this problem, whomever they may be.
    I would like the same help that deedvd is seeking. How do I DISABLE the
    zip folder function? I do NOT want my zip files to appear as "folders".
    Why anyone in Redmond thought this was a brilliant idea is beyond me.
    It adds to clutter and makes file browsing a lot less enjoyable. I
    simply want my zip files to appear as files - with the ".zip"
    extension. Just like every other file. The responses to deepdvd were
    probably as frustrating to him as they are to me. Changing the default
    program for zip files is IRRELEVANT. It only changes whether Windows or
    some third party app (7Zip, Izarc, etc) OPENS the files. They continue
    to show up as folders.  I tried the unregister script (earlier thread)
    "Running regsvr32 /u %windir%\system32\zipfldr.dll should be enough to disable zip functionality. Then just run your 3rd party archite application and let it re-register archive files." and it did not work. I got the same error that deeddvd got "The module "C:\Windows\system32\zipfldr.dll" was loaded but the entry-point DllUnregisterServer was not found.
    Make sure that "C:\Windows\system32\zipfldr.dll" is a valid DLL or OCX file and then try again."
    I would love to find a resolution to this problem. If anyone out there knows how to DISABLE the zipfolder function, please post the solution. I am thanking you in advance.

  • How do I disable Fennec startup cmd window?

    Hi,
    When you run Fennec windows version everytime, you should see a cmd window startup first then Fennec browser popup. How do I disable Fennec startup cmd window and just lunch Fennec browser?
    Thanks,
    Newmore

    This is expected. The desktop version is for developers to test the code without needing an Android device in front of them.

  • How can i disable the firewall in windows

    how can i disable the firewall in windows???

    Go to the start menu, select run and type cmd Once the command prompt appears type netstat -a and see if it shows your computer as listening to the port for Limewire.
    60GB iPod w/ video | PowerBook G4: 1.67, 1.5GRAM, 64VRAM, 80GB HD, SuperDrive |   Mac OS X (10.4.5)   Nothing is as simple as we hope it will be.

  • How can I disable taskbar transparency in windows 8 RTM?

    how can I disable taskbar transparency in windows 8 RTM?

    Seems to me there's very little merit in the colors of the High Contrast themes!  :-)
    Try it this way instead:
    Right-click on the desktop and choose Personalize.
    Select an Aero theme first.
    Save a new named theme with a name something like "Aero Lite"
    Navigate to the following folder and edit the .theme file just created:
    %USERPROFILE%\AppData\Local\Microsoft\Windows\Themes
    Scroll down to the [VisualStyles] section near the bottom.
    Change the Path= filename from Aero.msstyles to AeroLite.msstyles
    In Personalize, go select another theme then this theme again.
    That gives you this:
    Only downside I've seen so far with this is that when dragging and dropping things in File Explorer the icons that appear with the cursor are no longer partially transparent, so you end up have to guess just a little where you're dropping them.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed. I get the opening window where it says installing plugins searching etc, after which PS opens in full screen. Just moments after that there's a fail warning, no code number, only

    Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed.
    I get the opening window where it says installing plugins searching etc, after which PS opens in full screen.
    Just moments after that there's a failure warning, no code number, only the warning that PS failed to open and PS will close.
    I tried downloading it for a second time, but this did'nt solve the problem.
    Befor the CC version I used a one year student version of Adobe CS6.
    What can I do?

    Regarding the Flash Player problem, disable Hardware Acceleration to circumvent driver incompatibilities.
    Regarding the Flash Pro installation problems, post in the Flash forums or http://forums.adobe.com/community/download_install_setup

  • How should I swipe in iPhoto, when two fingers swipe is for swiping full screen apps? thanks

    I dont know how to swipe phoots in iPhoto using Lion, two fingers swipe swipes full screen apps,,,thanks

    Did you mean three fingers? (the default in Lion).
    Have you tried changing Lion to use a four fingered swipe for spaces (System Preferences > Trackpad > Guestures)? If you do that, maybe iPhoto will be able to use the three fingered gesture (although I only have an old version of iPhoto and it doesn't work in that).
    Sorry if that doesn't help. How about the cursor keys?

  • How to maintain order of Full Screen and non Full Screen apps in Mission Control

    Hey guys, so i've gotten used to Full Screen Apps now, but as a power user who was used to Spaces, I like my windows to be in a specific order. 10.7.2 was great in that we can now re-arrange our screens in Mission Control, however, as soon as I do a restart, Lion reverts to having desktops on the left, and full screen apps on the right (i.e., it doesn't keep the order in which I left them before the restart). Now this really bugs me because by using the swipe feature, I want to know EXACTLY what app is to the left or right of me, as opposed to just turning on the "Order screens by most recent use" option, which I find to be too chaotic and unorganized. Has anyone figured out a way to do this? Below of pics of how I would like Mission Control to look like, and how it looks like after a restart.
    How I'd like for Mission Control to look like: (Desktops and Full Screen Apps intermingling)
    How Lion re-arranges Mission Control after a restart: (Full Screen Apps to the right)

    Shift-CMD-F toggles full screen off and on in Fx. Also, if you've put the Full Screen icon in the Firefox Toolbar, bring the mouse cursor up to the top of the screen. This will reveal the toolbar and you can click on the icon to return to normal.
    Get the icon from View>Toolbars>Customize. Drag it into the Toolbar somewhere.
    Message was edited by: WZZZ

  • How do i reposition desktops and full screen apps in the top of mission control?

    Full screen apps have there own space and so do desktops, how do i re-order them?

    Hi Anthony, hi ya guys!
    Actually you can do a bit of a trick to re-arrange a fullscreen apps but there is one thing which you should know - the first screen can't be a fullscreen app screen.
    So, here is what you can do.
    Example: you have 3 fullscreen apps running on your OS: Pages, iPhoto, Mail.
    So you go to Mission Control and you see on the top the first screen which is an empty screen or a screen with any opened apps (not a fullscreen apps) and also you see your fullscreen apps in a row of 3 screens.
    So talking about these 3 screens (windows). Your Pages screen is the first fullscreen app window, iPhoto is the 2nd and Mail is the 3rd but you want to make it the 1st. So to do this you need to go to your second window (iPhoto), and press twice the Mail icon in your dock (one click and then another click).
    It will make your 3rd screen with Mail to take a place of 1st screen and iPhoto will be moved to the end.
    It all should be done while you are in a MC.
    Good luck!

  • How do I use dual displays to have a full screen app on one monitor and another full screen app or the desktop on the other?

    How do I use dual displays to have a full screen app on one monitor and another full screen app or the desktop on the other?
    I want to have my itunes visualizer on my TV which is connected via HDMI adapter, and still have access to full screen itunes and my desktop on the main display.
    Any suggestions?  App downloads that can do this?  Please let me know.

    You can't do it.  This has been an issue since Lion.

  • How do I stop the menu from showing up when I hover to the top of a full screen app?

    I am running Parallels in full-screen on Lion and when I move the cursor towards the top of the full screen app the menu pops up. How do I stop the menu from popping up? I keep hitting an icon on the menu bar that pulls it out of full screen mode and it's getting very annoying. Thanks.

    Use VMware Fusion? But seriously, Fusion does what you want. It just puts a mini VM control menu at the top when running full screen (and that's configurable, too), so the main menu bar doesn't appear at all. Which means that it's up to Parallels to handle this. Are you running Parallels 7, which is designed for Lion? If you are and Parallels still doesn't offer something similar, you need to contact Parallels.

  • When I'm using Safari, acasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! ???

    When I'm using Safari, ocasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! What the ****? Please help!

    Right, like I'm trying to say, THERE IS NO SAFARI MENU bar. Example: I have multiple applications open, I click on a Photoshop window, the correct menu or title bar or whatever changes. Every other application window I click on brings up the correct "whatever" bar. If I click on the desktop, the "Finder Bar" shows up.
    Everythiing else, BUT SAFARI, works the same way since OS X came out.  This is ridiculous.
    I'm getting the vibe that Apple is trying to get rid of the finder.... this is the way wrong direction.

  • How can I disable remote access connection window ?

    When I try to connect (via TCP/IP) with a VI in another PC (in my local network) it appears the remote access connection window.
    How can I disable this (programmatically if possible) ?
    A big thanks for your answers.
    Linus

    Randy,
    attached the image of the Remote Access Connection Window that appears when I connect to the VI.
    It is the Operating System (Windows) classical panel for Remote Access connections using a modem.
    Many thanks.
    Linus
    Attachments:
    Remote_Access.jpg ‏22 KB

  • How can I disable the touchpad in windows 8.1 (running on an ideapad Lenovo Z710 computer)??

    how can I disable or make much less sensitive the touchpad on my new Z710 Lenovo computer running Windows 8.1?

    Hi,
    This depend on the make/model of your hardware, and, the software/drivers currently installed, the steps will vary.
    For your model, i search the information from Lenovo website:
    You could have a try. For more further information, i suggest you ask Lenovo support for help.
    Karen Hu
    TechNet Community Support

  • How do I disable the messages setup window at startup?

    Everytime I start my Macbook and launch Safari, a window pops up asking me to set up messages with my email accounts.  I do not want to use this feature.  How do I disable this window?

    Hi,
    In System Preferences > iCloud or Internet accounts  disable the Messages tick box for that email.
    I am presuming at least one is an Apple ID that can be used with AIM  (All Apple IDs issued by Apple - @Mac.com and iCloud linked @me.com and @icloud.com) as they are also Valid AIM Screen Names from and agreement that is now over 10 years old.
    Google Mail IDs can become valid GoogleTalk IDs is Talk is enabled at Google's accounts settings web page.
    Facebook IDs can be connected to Facebook Chat IDs if you enable Chat at Facebook.
    Both run Jabber servers and can be used in Messages.
    Safari will list some of these in File Menu > Share which may be effected by the above settings (I use Firefox rather than Safari)
    7:35 pm      Sunday; March 16, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for

  • Problem sharing folders, imac to windows vista home premium over network

    I can see my windows machine on my Mac but when I try to connect it take a while and gives me an error saying connection failed. On the windows laptop, I can see my mac, can open the icon but only see the printers I have shared on my Mac. I did check

  • Cannot resize partition...

    Before mods delete/close/move my post 'cause I'm sure there exist hundred of related problems to this let me explain. I study Engineering in Computational Systems, for my Digital Design class I need some software that only exist for Windows (I've bee

  • Letters change when creating PDF

    I am using Acrobat Professional 6 and creating PDFs with the "Adobe PDF" icon it created when installed. Some documents from the Bloomberg system are converted by a sort of substitution cypher to gibberish. Capital letters are affected, but not lower

  • Problem with netrw in vim

    when I try to open a remote file with vim ftp://ftp.server/file.name, I get the error "E117: Unknown function: netrw#NetSavePosn". I have set nocp and filetype plugin on, as it says in the manual. I've also tried with a clean install, just in case th

  • Create an internet link for a PC in an apple environment

    I am a complete beginner, bear with me. I have an ibook G4 and a G5 both running Tiger 10.4.2 and linking to the internet via airport extreme. I am trying to link a PC so that it too can access wirelessly through the airport and have the ability to p