>''try to set focus

>SendNotifyMessage(ipCountry, WM_SETFOCUS, IntPtr.Zero, IntPtr.Zero)
>
>SendMessageByString(ipCountry, CB_SETCURSEL, iCountryCbo, 0)
>
>SendNotifyMessage(ipZip, WM_SETFOCUS, IntPtr.Zero, IntPtr.Zero)
>
>I tried moving the setfocus calls around with no luck-

Have you also tried sending WM_KILLFOCUS to the window that you "tab
out from"?


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.