giving the focus to a windows

Does someone know a mean to give the focus to a precise windows in an openGL-GLUT program which contains several subwindows (without a mouse clicking from the user)?

Thanks

HWND SetFocus(
HWND hWnd // handle to window to receive focus
);