CS-360 Exam 1 Topics

Fall, 2009

General:

Using the Visual Studio Integrated Development Environment
Programming in Visual C++
Programming in C#
Use of Classes

Win32 API:

Program Structure: WinMain(), RegisterClass(), CreateWindow(), ShowWindow(), UpDateWindow(), the WndProc(),
Message Handling (the main message loop): GetMessage(), DispatchMessage()
Event handling and the WndProc
Windows Messages (WM_COMMAND, WM_PAINT, WM_?BUTTON*, WM_MOUSEMOVE, WM_CHAR, WM_KEYDOWN, WM_SIZE, etc.)
GDI: Device Context, Drawing Functions (e.g., pixels, lines, rectangles, ellipses, etc.), Drawing Objects (e.g., pens, brushes)
Shutdown sequence: WM_DESTROY, WM_QUIT, PostQuitMessage(), DestroyWindow()
Resources: menu, icon, bitmap, cursor, font
Child Window Controls, SendMessage()

MFC:

Event handling and Message Maps
App/Window and Doc/View approaches
SDI and MDI
Important MFC classes: CFrameWindow/CWnd, CWinApp, CView, CDocument, CDialog
Drawing and the CDC class
Graphics object classes (CPen, CBrush, etc.)
Using the App and Class Wizards
Modal Dialog Boxes

The .NET Framework:

.NET Windows Forms Program Structure; the Form and Application classes
Namespaces, Classes, Properties, Fields, and Methods
Event handling: Events/Delegates/Handlers
Important Events: Paint, Resize, MouseDown, MouseMove, KeyDown, KeyPress
GDI+, Graphics class, Drawing on a form (Graphics class methods)
The Bitmap and Image classes
The MessageBox class
The Timer class and the Timer's Tick Event; Animation
The DateTime structure
The Random class
The ArrayList class
The Mouse and the Keyboard