My button has these styles:
WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON
it creates and lights up properly, but in my edit control, when i press ENTER, it does nothing!
Heres the styles of my edit control:
WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL | WS_TABSTOP
I am not using a dialog, i have created my windows using CreateWindow() and i have handled tab order in the message loop:
MSG msg;
while (GetMessage (&msg, NULL, 0, 0))
{
if (!IsDialogMessage(hActiveWindow, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
The "hActiveWindow" is a handle to the window that the user has currently active. tabbing works but i have a feeling this is messing wiht the DEFPUSHBUTTON.
any help?