Hi!
You can catch a moment when user finished resizing in the timer, but you should check in the timer event for MDOWN() so the code will not run in between of resize event calls. As soon as mouse button released, fire the code - for sure user stopped to resize the form.
This is a default behaviour of all windows in windows application. User can swicth off this feature in the profile, so resizing of the form will look like a resizing of frame, after releasing the mouse form is resized to the frame, and as a result Resize event is called only once.
HTH.
>If I place the code inside the resize, the code will be run during the resize...so it will fire many times. I need to run my code just once, when the user has stopped resizing the form. Should have clarified that in my original post.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.