Sorry for replying you late!!!
For the previous question, my problem is:
Before resizing the window, for example the size of the window is 400x400....
after resizing the window, the size of the window becomes 450x350.....
My question is how to get these two data in my program....and I want to use these two data at the same time..Can I do like this? Do you understand?