Im sure it could be done on some event, or with a timer, but (and i dont actually use this so i cant be sure) I beleive MDX DLL has window docking options, which would take care of all this for you, you would just dock the second window to the first and whamp its done.