首页 / Game Guide / A brief introduction to virtualmap

A brief introduction to virtualmap

VastStarry
VastStarry管理员

Complete Game Information:

What is MapVirtualKey?

Note: Applications can use MapVirtualKey to translate scan codes into virtual key code constants VK_SHIFT, VK_CONTROL, and VK_MENU. Vice versa. These translations do not distinguish between left and right shift, ctrl, and alt keys.

keybd_event (0x52, MapVirtualKey (0x52, 0), KEYEVENTF_KEYUP, 0);//Release the R key. keybd_event (VK_SHIFT, MapVirtualKey (VK_SHIFT, 0), KEYEVENTF_KEYUP, 0);//Release the SHIFT key.

When pressed, the second parameter is MapVirtualKey (VK_RETURN, 0), which indicates the corresponding scan code; when released, the third parameter is set to KEYEVENTF_KEYUP, which indicates that the button is released. Introducing functions using the SendInput function: Introduce the Windows API function SendInput in Delphi. Define constant: defines the virtual key code constant VK_RETURN for the return key, with a value of 13.

You can use vba to generate a vbs file when you run vba. In the vbs file, use sendkey to simulate the keyboard and press ctrl+p enter to print. Or directly use vbs to control printing after opening.

How to install a computer "diskless system"?

1. The installation process of a computer "diskless system" mainly includes the following steps: Server preparation: Operating system requirements: The server needs to be installed with Windows XP, Windows 2000 Professional, Windows 2000 Server or Windows 2000 Advanced Server, and ensure that the latest upgrade patches are installed. Disk space: The server should have sufficient hard disk space to store virtual disk image files.

2. First of all, ensure that all computers are connected to the same local area network to ensure that the network is smooth and the IP address allocation is correct. Install client software on client machines: Install client software required for a diskless system on client machines that need to be diskless. This step usually needs to be carried out according to the specific requirements of a diskless system and may involve software downloading, installation and configuration.

3. Method 1: Use the GHOST system hard disk to install, download and decompress the GHOST system: First, download a GHOST system image file from a reliable source that suits your computer hardware configuration. Unzip the downloaded zip package into a directory on your hard drive, making sure you have enough space to store the files. Run the hard disk installer: In the extracted folder, find the executable files of the hard disk installation or recovery system.

A brief introduction to virtualmap

4. Method 1: Install by downloading the clean version of the system and the PE toolbox. Install the PE toolbox: Use the ghostep tool of ghost version 3 to extract the XPE.IS_from the UPE.GHO image file. Unpack Pe installation tool.rar and click XPEINSTALL.EXE to install. During the installation process, select the partition to which the PE is installed, the path to the xpe image file, and the path to the installation kit.

A brief introduction to virtualmap

5. The specific steps for building a diskless system on your home computer are as follows: 1. Install a diskless server on a computer and set up the corresponding "virtual disk". 2. Install the drivers and software on another computer system, and finally install the diskless client;3. Restart the computer, set the BIOS to boot from network boot mode, and then restart the computer. 4. The server starts the diskless manager, selects the computer you just joined, and sets it as super user.

A brief introduction to virtualmap

A brief introduction to virtualmap

How to distinguish between mouse click and double click in delphi

SetCursorPos (newPoint.x, newPoint.y); //sets the destination location. mouse_event (MOUSEEVENTF_RIGHTDOWN, 0, 0, 0);//Simulate pressing the right mouse button. mouse_event (MOUSEEVENTF_RIGHTTUP, 0, 0, 0);//Simulate letting go of the right mouse button.

end; Trigger menu pop-up automatically triggered: After association through the PopupMenu property of the control, it will automatically pop up when right-clicked.

A brief introduction to virtualmap

You can do this through the MouseMove event. When the mouse passes by, you can make a judgment whether to slide in (that is, move from outside the drop-down menu to the coordinates of the drop-down menu for the first time). If so, you can trigger a click event on the drop-down menu.

SetCursorPos (newPoint.x, newPoint.y); //sets the destination location. mouse_event (MOUSEEVENTF_RIGHTDOWN, 0, 0, 0);//Simulate pressing the right mouse button. mouse_event (MOUSEEVENTF_RIGHTTUP, 0, 0, 0);//Simulate letting go of the right mouse button. mouse_event (MOUSEEVENTF_LEFTDOWN, 0, 0, 0);//Simulate pressing the left mouse button.

发表评论

latest articles