Quantized Hall conductance, current-carrying edge states, and the existence of extended states in a two-dimensional disordered potential