Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to use WM_MENUDRAG message?

Featured Replies

Posted

Hi guys,

I was trying to create a popup menu using CreatePopupMenu function and SetMenuInfo function (MNS_DRAGDROP) to get triggered by WM_MENUDRAG message = Ok.Now on this message I can read wparam content to check out where the drag did started lik from position 1 for example.The problem now is how to check where the drag did end if I release the left mousebutton again?There is a message called WM_MENURBUTTONUP but not for the left button.Now I dont know how to find that out to catch the drag end of this operation you know.Only thing I could do is to catch WM_MENUSELECT after WM_MENUDRAG (setting a marker of drag start item index) and checking at WM_MENUSELECT which item is selected and doing any update on fly or something like that maybe.Not sure whether this is the right way.

My goal is just to change the menu items by user via mouse in a visible contextmenu.Has anyone a example for that how to deal with WM_MENUDRAG (optional with visible drag style using DoDragDrop function etc)?

greetz

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.