-
When you first started creating a menu, didn't you just click on the title bar?
-
menu, make the window borderless.
-
The right-click menu works in the same way as a normal window menu (if you don't want the right-click menu to appear in the window menu bar, you must set the visual properties of the menu to false). When the right-click is pressed, use "pop-up menu ()" to bring up the set right-click menu. Example:
There is a menu called "Right Click" in the program. If you want the right mouse button to appear when pressed on the window, you can add the following subroutines:
Subroutine: Launch window The right mouse button is pressed.
Return value type: logical.
Parameter: Horizontal Position Data Type: Integer.
Parameter: Portrait position Data type: Integer.
Parameter: function key status Data type: integer.
Pop-up menu ( right-click, pop-up menu "Introduction: Call format: no return value object pop-up menu (menu to pop up menu, integer horizontal display position, integer vertical display position) The system core supports the library-> window.
Product Name: popupmenu
Lets you display a pop-up menu at the current mouse position or at a specified coordinate position on the window, and automatically uses the window in which it is located if the object is called. This command is a primary object member command.
The name of parameter <1> is "Menu to pop up", and the type is "Menu". The specified menu must contain submenus, and the window must be the same as the window of the caller.
Parameter <2> can be omitted because it has the name "Horizontal Display Position" and the type "Integer (int)". Units are pixels, relative to the left side of the screen. If omitted, the current mouse position is automatically used.
Parameter <3> can be omitted because it has the name "Vertical Display Position" and the type "Integer (int)". Units are pixels, relative to the top edge of the screen. If omitted, the current mouse position is automatically used.
There is a selection box in the menu called "Allow Actions", and if you leave it blank, you will not select it, and the corresponding menu item will be disabled.
If you want to set it dynamically while the program is running, you can use the following ** (set the menu name to "Copy"):
Copy. Forbidden = True Makes the menu disabled and inoperable.
Copy. Forbidden = False Suppresses the menu so that it can be operated.
-
.Version 2The subroutine Startup Window is pressed with the right mouse button, logical. Parameter transverse position, integer type.
Parameter longitudinal position, integer type.
Parameter function key state, integer pop-up menu (menu name, ,
-
No, the most you can do is remove the title bar and replace it with a tag, and then the right mouse button will be pressed in the event.
-
There is a title bar menu command in it, use the menu machine to make the menu first, and then use this command.
-
.Version 2Subroutine.
Launch Window The right mouse button is pressed, logically.
Parameter transverse position, integer type.
Parameter longitudinal position, integer type.
Parameter function key status, integer pop-up menu.
Menu name,)
-
When you go to click the button.
The mouse is on the button.
Right-clicking is also clicked on the button. Version.
Support Libraries. eapi
Simulate mouse clicks.
Interface constants. Right-click).
You can try this command.
The premise is 100
100 this location.
There are no other windows to obstruct.
-
Get focus loaded.
Loss of focus destruction.
-
Simple! Get focus (load "this you add the window you want to load").
Lose focus (destroy "this window you're destroying").
-
- The startup window border is set to none.
Add the label Reset Diagram to the diagram of the close button.
Added in the event where the tag is clicked.
Destroy () ok.
Requires a component, tab 1 a! Copy:Version 2
Support library shellexSupport library eapiAssemblies Window Assembly 1 >>>More
Explosive takes a handle ("crossfire").
Subroutines Explosive Handle, Integer, Public, Explosive Exhaustive Window Handle, shall not be used for it. (Window handle is returned for success, -1 is returned for failure). >>>More
Stack errors are usually used because of a function called cdecl with stdcall. >>>More
Write to file command depends on how to use the command Space to collect disciples.
I'm also fine with this when debugging, but the compiled one will report poison. I don't know if there is a problem with your version, I recommend going to the Jingyi forum**. You can try to add him to the 360 whitelist, put the exe file in the easy language directory, and the entire directory of easy language, and c: >>>More