Current location - Recipe Complete Network - Complete cookbook of home-style dishes - Does anyone know how to add a custom menu with the right mouse button? It is best to give a source code.
Does anyone know how to add a custom menu with the right mouse button? It is best to give a source code.
Set the menu editor first, and add the visual = fake code of the menu menu as follows:

Version 2

. Support library iext3.

. Assembly window assembly 1

Subroutine _ shutter menu 1_ Release the right mouse button, logical type.

. Parameter lateral position, integer type

. Vertical position of integer parameter

Parameter function key status, integer type

Pop-up menus (menu,,)

Subroutine _ Add Menu _ is selected.

Local variable text variable, text type

If true (input box (,text variable,) = true)

Scroll menu 1. Add menu (text variable,,)