Shedding Light on windows Programming Home Training Resources Registration About the Paul Yao Company
The Paul Yao Company


Microsoft Windows Embedded Partner


Principles of Programming for Pocket PC

Overview

This workshop introduces C/C++ programmers to the elements needed to write programs to run on Microsoft Windows CE. This workshop focuses on the subset of Win32 - the 32-bit Windows Application Programming Interface (API) - that has been implemented in Windows CE. A set of core topics covers the basic user-interface, graphical output, and kernel programming topics needed to begin building robust software.

Who Should Attend

This lecture and lab-based workshop is intended for software engineers who need to understand the design and operation of Pocket PC. This includes software architects, designers, programmers, testers, and development managers. No prior experience with Windows programming is required.

Workshop Highlights


  • Building Win32 applications for Pocket PC
  • Writing user-interface code for a Pocket PC
  • Building dialog boxes and property sheets
  • Creating graphical output for a Pocket PC
  • Pocket PC memory management issues
  • Building Dynamic Link Libraries for Pocket PC

Performance Objectives

On completion of this workshop, attendees will be able to...

  • Describe the basic features of the Windows API as implemented on Pocket PC.
  • Describe the main features of a minimum Windows program.
  • Write code to create and manipulate Pocket PC.
  • Describe the operation of message-based programs and name the ten most important messages that Pocket PC programs handle.
  • Write code to correctly handle Unicode strings.
  • Write code to draw text, vector, and raster data in a window.
  • Write code to handle pointing device input and keyboard input.
  • Write code to handle Pocket PC notifications and Windows timers.
  • Write code to correctly handle command bars and other command input.
  • Describe the operation of dialog box controls and write code to maintain controls. Write code to create and support both modal and modeless dialog boxes.
  • Describe available common dialog boxes and write code to support common dialog boxes.
  • Write code to create and maintain property sheets and property sheet pages.
  • Describe Pocket PC related memory management issueson Pocket PC programs.
  • Create a dynamic link library.

Workshop Syllabus

MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY

Pocket PC System Architecture

  • Product Positioning
  • Operating System Basics
  • Programming Details

A Minimum Windows Program

  • The WinMain Entry Point
  • Window Procedure
  • Some Win32 Helper Functions

Creating Windows

  • Window Style Flags
  • The CRACKERS Tool

Event-Driven Programming

  • About Messages
  • Message Delivery

The Unicode Character Set

  • Character Set Families
  • Compiler Support
  • Win32 API Support

Creating Graphical Output

  • GDI Basics
  • Families of Drawing Functions

Text Output

  • Drawing Functions
  • Fonts & Other Attributes
  • Proper Text Positioning

Vector & Raster Output

  • Functions & Attributes
  • Drawing Objects

Pointing Devices

  • Messages
  • Double-Click Handling
  • Capture & Hit-Testing

Keyboard Input

  • Messages
  • Keyboard Focus & Carets

Timer & Notification Input

  • Timers
  • User Notifications
  • Application Notifications

Command Input

  • Command Bars
  • Keyboard Accelerators

Dialog Box Controls

  • Style Bits, Messages, Notifications
  • Edit, Button, Listbox, & Combobox Controls

Creating Dialog Boxes

  • Dialog Box Editors
  • Modal & Modeless Dialog Boxes
  • Dialog Box Creation

Common Dialog Boxes

  • Available Types
  • Basic Code to Create & Use

Property Sheets

  • Property Sheets & Property Pages
  • Designing & Coding

Memory

  • System Memory
  • Dynamically Allocating Memory
  • Accessing The Object Store

Dynamic Link Libraries

  • What is Dynamic Linking?
  • Creating & Calling DLLs
CONTACT US LOGISTICS REQUEST MORE INFORMATION