- Category:
- Windows Develop
- Tags:
-
- File Size:
- 1.1mb
- Update:
- 2017-10-25
- Downloads:
- 0 Times
- Uploaded by:
- cjx
Description: 1. press the left mouse button as the starting point, keep the pressed state, move the mouse until the mouse button is released as the end line, draw a static straight line
2. in the mouse in the process should be from the "starting point" to the "current position" to draw a straight line. The dynamic method of drawing dynamic line is removed first before a straight line, and then draw a new line. In the process of moving the mouse will continue to receive many WM_MOUSEMOVE messages, including LOWORD (lParam) and HIWORD (lParam) at X, respectively. The Y value of the mouse store
To Search:
File list (Check if you may need any files):