locked
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

Answers

  • 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.

    http://www.codeproject.com/Articles/10224/Docking-Toolbars-in-Plain-C

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