Microsoft Developer Network
▶
Highlights
▶
Technical Articles
▼
Sample Code
▼
Sample Code
▶
DDE Samples
▶
GDI Samples
▶
Kernel Samples
▶
MS Foundation Classes (MFC) Samples
▶
MS System Journal Samples
▶
Multimedia Samples
▶
OLE Samples
▼
Programming Windows 3.0 (Petzold) Samples
ABOUT1: Displays an About Dialog Box
ABOUT2: Displays an About Dialog Box with Radio Buttons
ABOUT3: Displays an About Dialog Box with a Child Window Control
ARCS: Draws an Arc, a Chord, or a Pie Wedge
BEEPER1: Sets a Timer Using WM_TIMER and Beeps
BEEPER2: Sets a Timer Using a Callback Function
BLOWUP1: Demonstrates SetCapture and ReleaseCapture
BLOWUP2: Captures a Screen Image to the Clipboard
BOUNCE: Bounces Ball in Window's Client Area
BTNLOOK: Creates Child Window Button Controls
CHECKER1: Demonstrates Simple Hit-testing for the Mouse
CHECKER2: Demonstrates Simple Hit-testing with Keyboard Interface
CHECKER3: Demonstrates Simple Hit-testing with Two Window Procedures
CLIPVIEW: Demonstrates Clipboard Viewer
CLOVER: Draws a Clover on the Screen Using Regions
COLORS1: Experiments with Color Using Scroll Bars and Static Child Windows
COLORS2: Experiments with Color Using Scroll Bars and a Modeless Dialog Box
CONNECT: Processes Mouse Messages
DDEPOP: DDE Server for Population Data
DEVCAPS1: Displays GetDeviceCaps Function Information for Screen or Current Printer
DEVCAPS2: Displays GetDeviceCaps Function Information for Screen or Selected Printer
DIGCLOCK: Displays a Digital Clock Using the Timer
ENVIRON: Uses a List Box to Display MS-DOS(R) Environment Variables
FONTLIST: Uses EnumFonts to Obtain Font Information
FORMFEED: Demonstrates Basic Printing
FREEMEM: Displays Amount of Free Memory Available
GRAFMENU: Demonstrates the Use of Bitmaps in Menus
HEAD: Displays the Beginning Lines of a File
HELLOWIN: Displays
HEXCALC: Demonstrates Hexadecimal Calculator
JUSTIFY: Illustrates Text Alignment
KEYLOOK: Displays Information on Keyboard Messages
LINEDDA: Draws Rectangle and Connects Corners to Client Area
MDIDEMO: Demonstrates How to Write an MDI Program
MENUDEMO: Demonstrates Menu Processing
MFCREATE: Creates a Disk-based Metafile
MFRESORC: Transforms a Metafile into a Resource
NOPOPUPS: Creates Top-Level Menus Without Pop-Ups
PICKFONT: Creates and Displays Logical Font
POEPOEM: Demonstrates User-Defined Resources
POORMENU: Adds Menu Items to the Control Menu
POPMENU: Creates Pop-Up Menus
POPPAD: Uses Multiline Edit Control with Menus, Dialog Boxes, and Printing Capabilities
POPPAD1: Uses Multiline Edit Control for Editing
POPPAD2: Uses Multiline Edit Control with Edit Menu
POPPAD3: Uses Multiline Edit Control with Menus and Dialog Boxes
PRINT1: Demonstrates Bare-Bones Printing
PRINT2: Demonstrates Printing with Abort Function
PRINT3: Demonstrates Printing with a Dialog Box
PRINT4: Demonstrates Printing with Banding
RANDRECT: Displays Random Rectangles
RESOURC1: Demonstrates Icon and Cursor Resources
RESOURC2: Demonstrates Icon, Cursor, and Monochrome Bitmap Resources
ROP2LOOK: Demonstrates the Use of ROP2 Codes
SCRAMBLE: Uses Memory DC for BitBlt Operations
SHOWBIT: Reads and Copies Bitmaps
SHOWPOP: DDE Client that Displays Population Data
STRPROG: String Program with Dedicated DLL
SYSMETS: Displays GetSystemMetrics Information with Keyboard Interface
SYSMETS1: Displays GetSystemMetrics Information
SYSMETS2: Displays GetSystemMetrics Information with Vertical Scrolling
SYSMETS3: Displays GetSystemMetrics Information with Vertical and Horizontal Scrolling
TYPE: Demonstrates Basic Text Editing Functions
WHATSIZE: Displays Size of Client Area
▶
VxD Samples
▶
Windows Samples
▶
Window Manager Samples
▶
Windows for Pen Computing Samples
▶
Product Tools and Utilities
▶
Resource and Strategy
▶
Knowledge Base and Bug Lists
▶
Books and Magazine Articles
▶
Product Documentation
▶
Unsupported Tools & Utilities