I have created some editboxes in my MDI child window but the tab-function do not work. I would like to be able to jump between the editboxes with the tab function. I have tried to implement the follow without succes:
1 2 3 4 5 6 7 8 9
while(GetMessage(&Msg, NULL, 0, 0) > 0) { /* If no error is received... */
if(!IsDialogMessage(hwnd,&Msg))
{
TranslateMessage(&Msg); /* Translate key codes to chars if present */
DispatchMessage(&Msg); /* Send it to WndProc */
}
}
return Msg.wParam;