   Little help please.
  Hello everyone,I have been working on a simply MMORPG in VB.NET and DirectX i currently have a window system setup where i can show/not show my windows doing the following:Window(2).Show = TrueWhich will draw the window onto screen.The system is great i love it but the function to draw the windows is causing me a problem where Window(1) will always be behind Window(2) etc.Is there any other/better system i could use for making custom windows for things such as inventory/equipment etc.Thank you.   
  Just keep the list sorted front to back.  Whenever a user clicks on a screen move the window to the front of the array/queue/whatever data structure you're using.-me   ;  Store all the windows that are visible in a list and draw them in the order they are in that list. Then when a window is clicked (and brought to the forground) you simply remove it from where it is in the list and add it to the front.EDIT - ahh beaten to it...   