Windows 10: How to programmatically disable snap for a window class

Discus and support How to programmatically disable snap for a window class in Windows 10 Gaming to solve the problem; I have a MDI application and on Windows11 I have Snap enabled. Works fine with one oddity. If I do not have my application's MDI document maximized,... Discussion in 'Windows 10 Gaming' started by RDHolland_950, Mar 5, 2024.

  1. How to programmatically disable snap for a window class


    I have a MDI application and on Windows11 I have Snap enabled. Works fine with one oddity. If I do not have my application's MDI document maximized, when I move over the maximize button, the Snap window appears. I can click and entry and my application Snaps not the MDI child window. How can I disable this as I only want the application to snap.I added a handler for WM_NCHITTEST to my MDI child window but if I don't return HTMAXBUTTON, I get no highlighting on the button and it doesn't react to clicks. Spying on the messages the window gets I don't see anything that I might intercept to prev

    :)
     
    RDHolland_950, Mar 5, 2024
    #1
  2. Anne Ros Win User

    Disabling Snap

    Hi Dan,

    Snap assist is a neat productivity feature especially for those of us who have multiple windows open at once. If you're having issues disabling the feature and you've done all the steps on how to disable the said feature to no avail, let's try a different approach.
    We've found a thread similar to your concern. Check this thread
    and see if the steps will work for you. If not, you can also post directly on our
    TechNet Windows 10 Networking forum to have further assistance from our IT Professionals.

    Let us know if you need anything else. We're here to help.
     
    Anne Ros, Mar 5, 2024
    #2
  3. Eric Ber Win User
    Snap Assist

    Hi Cory,

    The Snap Assist allows you to juggle apps, arrange open windows, resize windows by simply dragging and dropping them to the edges of the screen. If you don't want to get a quarter screen snap, you can change the settings of Snap Assist by follow the steps below:

    • Open the Settings app
    • Click System.
    • Click Multitasking.
    • You can turn off some of the option of Snap Assist on this window.

    If you want to disable Snap Assist, you can turn off Arrange windows automatically by dragging them to the sides or corners of the screen.

    Should you have further queries, feel free to post it.
     
    Eric Ber, Mar 5, 2024
    #3
  4. How to programmatically disable snap for a window class

    How do I disable the Snap feature?

    Hi Abby,

    To help on how to disable the Snap Feature on Windows 10, you may follow the steps below:

    1. Navigate to Settings, System and then Multitasking.

    2. Adjust the settings in the Snap window as you see fit. Disable them all to turn off all snap features.

    3. Close Settings.

    Let us know if you need further assistance.
     
    Jenicel Dri, Mar 5, 2024
    #4
Thema:

How to programmatically disable snap for a window class

Loading...
  1. How to programmatically disable snap for a window class - Similar Threads - programmatically disable snap

  2. How to programmatically disable snap for a window class

    in Windows 10 Software and Apps
    How to programmatically disable snap for a window class: I have a MDI application and on Windows11 I have Snap enabled. Works fine with one oddity. If I do not have my application's MDI document maximized, when I move over the maximize button, the Snap window appears. I can click and entry and my application Snaps not the MDI child...
  3. GameBar Can't Programmatically Disable HDR Notifications

    in Windows 10 Software and Apps
    GameBar Can't Programmatically Disable HDR Notifications: Hi I am trying to programtically check through windows registry "Hide HDR Notifications on this device". I looked under these registry paths before and after the change rebooting regedit each time it got changed. I also diffed the entire HCKU before and after revealing...
  4. GameBar Can't Programmatically Disable HDR Notifications

    in Windows 10 Gaming
    GameBar Can't Programmatically Disable HDR Notifications: Hi I am trying to programtically check through windows registry "Hide HDR Notifications on this device". I looked under these registry paths before and after the change rebooting regedit each time it got changed. I also diffed the entire HCKU before and after revealing...
  5. Disable 3 vertical windows snap

    in Windows 10 Gaming
    Disable 3 vertical windows snap: How do I disable the three vertical windows snap without disabling the useful windows snap options? https://answers.microsoft.com/en-us/windows/forum/all/disable-3-vertical-windows-snap/f57b3972-6169-438e-80f9-dd9a9d9fbc69
  6. Disable 3 vertical windows snap

    in Windows 10 Software and Apps
    Disable 3 vertical windows snap: How do I disable the three vertical windows snap without disabling the useful windows snap options? https://answers.microsoft.com/en-us/windows/forum/all/disable-3-vertical-windows-snap/f57b3972-6169-438e-80f9-dd9a9d9fbc69
  7. How to enable or disable Snap Layouts on Windows 11

    in Windows 10 News
    How to enable or disable Snap Layouts on Windows 11: [IMG]In this article, we will explain how you can enable or disable the Snap Layouts on Windows 11. Microsoft never stays behind the technological need of evolving world. Multitasking and increase work management raised the need of using multiple Windows simultaneously. Snap...
  8. How to disable Removable Storage classes and access in Windows 10

    in Windows 10 News
    How to disable Removable Storage classes and access in Windows 10: [ATTACH]If you want to disable access to removable storage devices and ports in a […] This article How to disable Removable Storage classes and access in Windows 10 first appeared on TheWindowsClub.com. read more...
  9. Disabling Snap

    in Windows 10 Customization
    Disabling Snap: I would like to disable snap. Snap windows is turned off, but still after idle time even short, the operating system automatically drags all open windows to the top left corner of my screen and shrinks them. What should I do? Thanks, Efrat...
  10. Disabling snap

    in Windows 10 Customization
    Disabling snap: In Windows 10, I have disabled snap, both from Display--> Multitasking, and checked from Ease of Access Center --> Make the mouse easier to use, have checked "Prevent windows from being automatically arranged when moved to the edge of the screen". Still, each window goes to...