How to write the menu on the title of the startup window 20

Updated on technology 2024-02-09
11 answers
  1. Anonymous users2024-02-05

    When you first started creating a menu, didn't you just click on the title bar?

  2. Anonymous users2024-02-04

    menu, make the window borderless.

  3. Anonymous users2024-02-03

    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.

  4. Anonymous users2024-02-02

    .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, ,

  5. Anonymous users2024-02-01

    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.

  6. Anonymous users2024-01-31

    There is a title bar menu command in it, use the menu machine to make the menu first, and then use this command.

  7. Anonymous users2024-01-30

    .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,)

  8. Anonymous users2024-01-29

    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.

  9. Anonymous users2024-01-28

    Get focus loaded.

    Loss of focus destruction.

  10. Anonymous users2024-01-27

    Simple! Get focus (load "this you add the window you want to load").

    Lose focus (destroy "this window you're destroying").

  11. Anonymous users2024-01-26

    - 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.

Related questions
13 answers2024-02-09

Requires a component, tab 1 a! Copy:Version 2

Support library shellexSupport library eapiAssemblies Window Assembly 1 >>>More

13 answers2024-02-09

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

13 answers2024-02-09

Stack errors are usually used because of a function called cdecl with stdcall. >>>More

13 answers2024-02-09

Write to file command depends on how to use the command Space to collect disciples.

12 answers2024-02-09

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