Ok,PaintBox is derived from TControl,but I dont understand how you think i can handle this event.Imagine i am in one state and i want to stay in that state even if i dont hold mouse button,and move pointer outside of paintbox.I want to prevent changing cursor and also want to disable selection of menus,buttons and other element of form.Do you mean i use some internal loop(explain me a little bit more your soluttion)