How to create a movable menu bar in Win32 RRS feed

  • Question

  • I need to create a movable menu bar in Win32  that you can use the mouse to drag, it does not show by click right mouse button,I do not know how to  implement, please post a sample code, thank you!


    Tuesday, July 22, 2014 9:17 PM


  • Hi,

    As i know, it is hard to move a menu bar. The menu bar is closely related to the window class.

    I have a idea that you can use a window like a container. Then add your menu to the window.

    In order to achieve your target, we can do something to the container window make it a better looking.

    I find a article may helpful for you, I think it is close to your request.


    • Marked as answer by Shu 2017 Friday, August 8, 2014 7:18 AM
    Friday, July 25, 2014 1:37 AM