Joke Collection Website - Public benefit messages - Simple language for sending information

Simple language for sending information

1. first declare the API function "SendMessageA", and the API will check the manual, right? It's in an easy-to-use Api

2. Then type the code: sendmessage a(hWnd, WM_CLOSE, 0,0).

HWnd is the handle of the target window; WM_CLOSE is a close message with the value of 16.