/* iterate through the resize array and get the correct information*/
resizeinfo GetResizeInfo(HWND hwnd)
    {
    resizeinfo ri;
    int i;

    for(i=0; i<iChildren; i++)
        {
        ri=pri[i];
        if(ri.hControl==hwnd)
            return ri;
        }

    /*should never get here*/
    return ri;
    }


