?

解决方案 »

  1.   

    example:    static HWND   hwndEdit1; 
        static HWND   hwndEdit2; 
        static HWND   hwndCombo1; 
        static HWND   hwndCombo2;     POINT       pt; 
                    // Get the edit window handle for each combo box. 
     
                pt.x = 1; 
                pt.y = 1; 
                hwndEdit1 = ChildWindowFromPoint(hwndCombo1, pt); 
                hwndEdit2 = ChildWindowFromPoint(hwndCombo2, pt);         ...........
            case WM_TAB: 
                if (GetFocus() == hwndEdit1) 
                    SetFocus(hwndCombo2); 
                else 
                    SetFocus(hwndCombo1); 
                break;