I have some code in the form that processes a change event for a textbox. It
modifies a property of an object which causes a separate visible TabControl
to rebuild the tab pages. The tabcontol is calling rebuilding the tab page
collection for the new object generated based on the property change. The
problem is when I remove or clear the tabs my textbox loses focus and the
TabControl gets focus. Is there anyway I can prevent this? I tried filtering
out WM_SetFocus messages while the tabs are being contructed but that
doesn't seem to fix my problem.
Thanks,
Brian