This report establishes an in vitro model on glass surfaces for patterning multiple types of cells to simulate cell-cell interactions in vivo. The model employs a microfluidic system and poly(ethylene glycol)-terminated oxysilane (PEG-oxysilane) to modify glass surfaces in order to resist cell adhesion. The system allows the selective confinement of different types of cells to realize complete confinement, partial confinement, and no confinement of three types of cells on glass surfaces. The model was applied to study intercellular interactions among human umbilical vein endothelial cells (HUVEC), PLA 801 C and PLA801 D cells.