We show that wetting properties crucially control the patterns in two-phase flows of immiscible fluids in microchannels. Ordered patterns, continuously entrained by the flow, are obtained when one phase completely wets the walls, while disordered patterns, intermittently adhering to the channel walls, are unavoidably produced when wetting is partial. A lower limit for the channel sizes capable ...