Dragable Menu Items
-
Anyone has seen the start menu, there's a cool thing about it. You can edit each menuitem position by dragging items, you can even create application links by dragging things in it, its a really cool feature. You can edit your menu on the fly ! I've searching in the net for something like this but nothing came up, i think this would requiere a lot of codding correct me if im wrong. Maybe on of you guys know the anwser for this little but awezome hidden abillity of the menus. :)
-
Anyone has seen the start menu, there's a cool thing about it. You can edit each menuitem position by dragging items, you can even create application links by dragging things in it, its a really cool feature. You can edit your menu on the fly ! I've searching in the net for something like this but nothing came up, i think this would requiere a lot of codding correct me if im wrong. Maybe on of you guys know the anwser for this little but awezome hidden abillity of the menus. :)
-
Anyone has seen the start menu, there's a cool thing about it. You can edit each menuitem position by dragging items, you can even create application links by dragging things in it, its a really cool feature. You can edit your menu on the fly ! I've searching in the net for something like this but nothing came up, i think this would requiere a lot of codding correct me if im wrong. Maybe on of you guys know the anwser for this little but awezome hidden abillity of the menus. :)
Check out
WM_MENUDRAG
andWM_MENUGETOBJECT
and related messages.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
I know its not a normal menu, but are you really shure about that, it seems a bit complex for a custom draw list view.
-
Check out
WM_MENUDRAG
andWM_MENUGETOBJECT
and related messages.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Exelent ! quote from MSDN: "To create a drag-and-drop menu, call SetMenuInfo with MNS_DRAGDROP." http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/menureference/menumessages/wm\_menudrag.asp Thanks a lot. :)
-
I know its not a normal menu, but are you really shure about that, it seems a bit complex for a custom draw list view.
-
Anyone has seen the start menu, there's a cool thing about it. You can edit each menuitem position by dragging items, you can even create application links by dragging things in it, its a really cool feature. You can edit your menu on the fly ! I've searching in the net for something like this but nothing came up, i think this would requiere a lot of codding correct me if im wrong. Maybe on of you guys know the anwser for this little but awezome hidden abillity of the menus. :)
Internet explorer handles drag and drop menu items in the "Favorites" menu, you can drag items from inside the menu, or outside like the desktop, wow this is really cool, i need to get my hands on IE source code :laugh:
-
Exelent ! quote from MSDN: "To create a drag-and-drop menu, call SetMenuInfo with MNS_DRAGDROP." http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/menureference/menumessages/wm\_menudrag.asp Thanks a lot. :)
Are you trying to be funny ? You mush think that im so stupid that i dont know what MSDN is. I appretiate your help i really do, but i believe you get the impression that im a noob here, in fact am not, i been searching the net for the last week and there's no single example on how to handle menus drag and drop operations, yes there are tons of examples on how to properly manage OLE Drag and Drop operations, and i read many of the tutorials specially the one at http://www.catch22.net/tuts/dragdrop.asp. I also know about the existence of these two messages, but thats it, i was hoping to find something a little more concrete. Thanks my fiend.