CSE Core Technology

Windows Programming

Revised: 20 February 2006
Home Courses Code Handouts CoreTech Books Articles Math Research Masters Projects SWDev WebDev News OtherLinks SiteDesign Graduates AllPages Office Hours Notices Contents

CSE681-SWMAA CSE686-IP CSE687-OOD CSE775-DO CSE776-DP CSE778-AWP CSE784-SWS

Contents

Web Resources:

Code Project Windows Forms Code Guru Win32, COM, MFC Windows Developer's Journal GotDotNet


Basic things you need to know


Win32 Programming

Processes, Modules, and Threads
kernel objects and handles
Platform SDK

          

Win32 Windows Programming

  1. Basics:
    message loop
    WinProc function and message handlers
  2. Details:
    Windowing
    Summary of messages and message queues
    This entry has two child pages that provide a lot of technical details and code examples without being overwhelming.
    Summary of Window Procedures
    This entry also has two child page with technical details and code.
    Windows Controls
    Things you need to know about controls to build useful Win32 and ATL dialogs.

Win32 Windows Programming


Programming Tutorials

Winprog.org
Lots of details that you will find extremely useful for both Win32 and ATL Windows programming.
ReliSoft.com
Don Hobson
Microsoft's Smart Client Architecture and Design Guide
        

Programming Info Links

Windows Data Types
Windows Controls
User Controls
Common Controls
Windows XP Controls

Wizard Screen Shots

Steps to Build Windows App using Win32 Application Wizard
        

Wizard - based code

Win32 Wizard Application Code

ATL and WTL Windows Programming


Programming Tutorials

WTL Part I - ATL GUI Classes, Michael Dunn
WTL Part II - WTL GUI Base Classes, Michael Dunn
WTL Part III - Toolbars and Status Bars, Michael Dunn
WTL Part IV - Dialogs and Controls, Michael Dunn
WTL Part V - Advanced Dialog UI Classes, Michael Dunn
WTL Part VI - Hosting ActiveX Controls, Michael Dunn
WTL Part VII - Splitter Windows, Michael Dunn
WTL Part VIII - Property Sheets and Wizards, Michael Dunn
WTL Part IX - GDI Classes, Common Dialogs, and Utilities, Michael Dunn
WTL Dialog Resizing, Michael Dunn
        

ATL Programming Info Links

ATL Reference
ATL Window Classes
Implementing a Window
Implementing a DialogBox
Using the ATL Windowing Classes
This article, by Andre Whitechapel, from CodeGuru, has a nice discussion of ATL message maps.

MFC Windows Programming


Programming Tutorials

Series of simple focused tutorials with Screen shots
CoderSource.net
Binghamton Univ, UK
tripod.com
MFC article links from Wisc.edu
MFC links and a lot more from Programmers Oasis
Tutorials by me and a couple of students
        

MFC Programming Info Links

MFC Class Library Overview
MFC Class Hierarchy
CWnd members
Structures, Styles, Callbacks, and Message Maps

Wizard Screen Shots

Steps to Build MFC Dialog Application
Steps to Build MFC Frame Window Application
Steps to Build MFC Doc/View Application

Steps for Bigger Dialog Application
Steps for Bigger Frame Window Application
        

Wizard - based code

MFC Dialog Application Code
MFC Frame Window Application Code
MFC Document View Application Code

Bigger Dialog Application Code
Bigger Frame Window Application Code

.Net WinForms Programming


Programming Tutorials

GotDotNet
ProgrammersHeaven
DotNetSpider
C# Notebook
WindowsForms
        

Programming Info

Wizard Screen Shots

Steps to Build .Net WinForm Application
        

Wizard - based code

.Net WinForm Application Code

Content:

This section provides links to more presentations and a lot more demonstration code.
  1. Introduction to Windows Programming
  2. Basic Windows Programming Demos
    These demos show how to create a Frame Window in a Console application and vice versa, and how to build very simple windows applications by hand, e.g., no wizards.
  3. Step by Step Demos for Building Win32, MFC, ATL, and .Net Forms Windows Programs
    Each example has a presentation showing screen shots for building using Visual Studio .Net 2003.
  4. Demonstrate Advanced Forms - C++ calling C# control
  5. MFC Dialog - Interface Freezes
  6. C# delegate demos
  7. C# Dialog - Interface Freezes