LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

right click popup menu included "copy, paste"

Dear:
      There are about sixty test string control In my application panel, and I want to make a right click popup menu include such functions as "copy, paste,cut". Should I generate sixty callback functions by EVENT_RIGHT_CLICK to complete this requirement?
      Is There any other convenient methods to add such standard windows function popup menus?
      Thanks very much!
0 Kudos
Message 1 of 2
(3,343 Views)
Here you can find an example that shows how to implement Context Menus for Controls:
 
You can use the same callback for all of your controls, and use the "control" parameter of the callback, to identify the active control.
 
Hope this helps!
 
0 Kudos
Message 2 of 2
(3,330 Views)