Yan #1 WaitKey() halts the programs execution until a key (or mouse button) is pressed. The clue is in the 'wait' bit. ;o)So do as Mr G suggested. :o)