| |

VerySource

 Forgot password?
 Register
Search
View: 1428|Reply: 4

Excuse me: What is the role of WM_SIZE?

[Copy link]

3

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-1-28 11:00:01
| Show all posts |Read mode
.if eax == WM_SIZE
invoke GetClientRect, hWinMain, addr @stRect
invoke MoveWindow, hWinEdit, 0,0, @ stRect.right, @ stRect.bottom, TRUE


What is the purpose of this, I removed it, the program can still run normally?
Reply

Use magic Report

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-2-23 18:00:01
| Show all posts
Oh? Drag the border of the main window to change the size of the window to see how the two programs behave differently before and after you modify it.
Reply

Use magic Report

3

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

 Author| Post time: 2020-3-2 12:45:01
| Show all posts
No adverse reactions
Reply

Use magic Report

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-3-2 22:00:01
| Show all posts
Look at the code above, there should be an edit type child window in the main window. The child window also behaves the same?
Reply

Use magic Report

3

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

 Author| Post time: 2020-3-5 18:00:01
| Show all posts
Oh, it's for the child window,
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list