void UpdateMaxQ() { MxQId=-1; for (int i = -1; NIdQH.FNextKeyId(i); ) { if (MxQId==-1 || NIdQH[MxQId]< NIdQH[i]) { MxQId=i; } } }