hi Guys, I would like to ask if anybody know a way to wait for a windows to fully paint all of it control before we can take an action.

For example, , i have a pop up message windows. I want to wait for that windows paint all of its control.