Take a look at
IsDialogMessage function, this is the function that will permit you to brows using TAB button
while(GetMessage(&msg,0,0,0))
while(GetMessage(&msg,0,0,0))
{
if (!IsDialogMessage(ghwnd, &msg) && !IsDialogMessage(hViewWindow, &msg) && !TranslateAccelerator( msg.hwnd ,haccel ,&msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
I build this thing in rush and not a windows programmer might found some *** let me know.. But this program works fine :)