Original Post
Im writing a window handling system for my current project. Right now im deriving any new types of windows i create from a window class. The base class contains all the information to work out the correct sizes of the GUI surrounding the window. This probably is not correct practice, but it works and i like it. However, how do i draw the window that is *on top* first? I cant just loop through the windows and draw the on-top one, because each window is its own different class (Even though it is derived from a base window class). Any idea? [Edited by - Butterman on June 28, 2007 12:39:26 PM]