WS_TABSTOP related question
hey i have two windows that i create and both i want to be able to tab though the controls, all the controls have the WS_TABSTOP style and the windows have the WS_EX_CONTROLPARENT style on them but i can only get on window at a time to be able to tab. I think its the code in the message loop which i found from searching here,
Code:
while(GetMessage(&msg,NULL,0,0)>0){
if(!IsDialogMessage(hwnd_Win,&msg)){
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
any ideas would be great Thanks