Need help for tab-function

Hello Cpluscplus,

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;


My code is built up from this template: http://www.winprog.org/tutorial/app_four.html

I hope you guys can help me!
Last edited on
Topic archived. No new replies allowed.