How to change width of popup menus RRS feed

  • Question

  • Hi,

    I have created PopUp Menu on click of button using TrackPopUpMenu() function.

    How can i change width of this menu?


    Pooja Kamra

    Monday, May 9, 2016 6:58 AM


All replies

  • use Owner Draw Menus and handle the WM_MEASUREITEM

    See This Example

    • Edited by Pradish.MP Monday, May 9, 2016 8:10 AM edit
    • Proposed as answer by Hart Wang Tuesday, May 10, 2016 2:56 AM
    • Marked as answer by Hart Wang Tuesday, May 24, 2016 1:34 AM
    Monday, May 9, 2016 8:09 AM
  • Hi Pooja Kamra,

    Thank you for posting here.

    The example that I have downloaded it.  I cannot upgrade the project to VS2015.  So if you want to upgrade the project of example. You need using the low version VS.

    Here has an easy use of owner drawn menu with variable styles like new office products with titles. The project fixed the windows menu with extreme width at 23 April 2003.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, May 10, 2016 2:56 AM