Home > Software engineering >  Right-click menu does not shut down how to do!
Right-click menu does not shut down how to do!

Time:10-21

Use code to create the menu! Point selected a line after a check, then menu does not close, but the cursor left click again to close interface menu
So how to achieve!

CodePudding user response:

Why do you have to the menu? To do with a window, can't?

CodePudding user response:

Use common window, the behavior of the menu Windows basic set is dead, no change

CodePudding user response:

CodePudding user response:

Like Windows 7

CodePudding user response:

Because creating the item is not fixed, if use interface to estimate more trouble

CodePudding user response:

reference 5 floor liuchanglin reply:
because creating the item is not fixed, if use interface to estimate more trouble


With a window dynamically generated button easily

CodePudding user response:

To do with window, a List control is put on the window, you put the Windows of the, is also a CListCtrl,
  • Related