Upcoming Events
Southwest Gaming Expo
11/20 - 11/22 @ Dallas, TX

Workshop on Network and Systems Support for Games (NetGames 2009)
11/23 - 11/25 @ Paris, France

ICIDS 2009 Interactive Storytelling
12/9 - 12/11 @ Guimarães, Portugal

Global Game Jam
1/29 - 1/31  

More events...


Quick Stats
7898 people currently visiting GDNet.
2341 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!



Link to us

Link to us

  Intel sponsors gamedev.net search:   

  Contents

 Introduction
 The Design
 The Plan
 Implementation
 Window
 Management

 Coordinate
 Systems

 Window Drawing
 Window
 Messages

 Wrapping it up

 Printable version

 


  The Series

 Part I
 Part II
 Part III
 Part IV

 

Welcome to Part II of the "Developing a GUI Using C++ And DirectX" Series. You can find Part I of the article here. Continuing with the overall theme (showing how I implemented a GUI for my upcoming game, Quaternion), this article will explain the many mysteries of windows. We'll look at how a window tree works, develop a plan to implement our GUI, and dive into the specifics of creating a window class, including drawing, messaging, coordinate systems, and all sorts of other madness.

We'll be using C++ heavily here. If you're rusty on pure virtual functions, dynamic_cast'ing, etc., grab a C++ book and brush up before continuing.

Without further banter, let's get started.


Next : The Design