Hi, I have created a tab control in MFC(VC++). While user is doing something in a tab, then I should restrict the user to change to another till the work started in a tab has been completed. Eg: In Tab A on some button click a thread will be launched, at that point of time user should not be able to move to another tab from Tab A. I tried it. But I couldn't make it up. Help me out.