locked
Touch Friendly Context Menu like Windows 10 RRS feed

  • Question

  • I got lots of popup in my desktop application. And I have good touch support. TapAndHold shows context menu and such.

    Windows 10 have started to shown touch friendly context menus in some places.
    For example the context items in the shell context menu for desktop/taskbar is shown with a larger item height.
    And I really like that. That makes popup menus more user friendly

    To make this happen you can modified the height by handling WM_MEASUREITEM for menus.

    BUT then the context menu is always shown with a larger height. Not only for touch

    So when I recieve WM_CONTEXTMENU, How can I identify / track so that the call comes from a touch 'TAP and HOLD' action and not from mouse or keyboard.


    Thursday, August 13, 2015 7:27 AM