Quote Originally Posted by rzdybel View Post
I'm not sure what kind of project this is. I inherited it. I think it's just a regular Windows app. I'm very new to Windows programming and I hope that's the reason I'm having so much trouble.
It is very hard to help if you are not able to answer questions like: What kind of project do you have?

If you so new to Windows programming: Are you sure that handling WM_TAB in a form or a dialog or a window similar to one of them by your own is the right idea for start learning Windows programming?

I've been developing Windows software for many years. The first 5 of them (approx.) I never cared of the TAB key in connection with switching from one control to another. That is one of the things Windows should do for me.

Only in very special cases (in my case it was a custom control written by myself that needed a special handling of the TAB key(s)) I had to deal with these things.

You call
Code:
EnumChildWindows( GetParent( hWnd ), EnumChildProc, IDC_BUTTON_SEND ); // tab
when you're recognizing a TAB key. What does your EnumChildProc do?