The processing state of an application program is changed according to the size change of a window. An information processing apparatus comprises: an execution means for executing an application program; a changing means for determining the size of a window displayed on a display means in correspondence with the application program; a receiving means for receiving at least one set of data from a plurality of sets of data; a data selecting means for selecting, from the plurality of sets of data, one set of data according to the window size determined by the changing means; an execution control means for allowing the execution means to process, according to the application program, the data selected by the data selecting means from the at least one set of data received by the receiving means; and a display control means for allowing the display means to display a screen based on the data processed by the execution means in the window.