Article List for Windows SDK Samples

Last reviewed: October 21, 1997
Article ID: Q132199
The information in this article applies to:
  • FastTips for the Microsoft Windows Software Development Kit (SDK) version 3.1

INSTRUCTIONS

Microsoft FastTips is available 24 hours a day, 7 days a week, from a touch-tone telephone. To order items from this catalog, first select the items you want to receive, noting the five- to six-digit number of the Item ID shown below for each item, and then:

  • Dial the toll-free FastTips number (800) 936-4300.
  • When prompted, select the Win32 Software Development Kit.
  • Press one (1) on your phone keypad to select Express Order Service.
  • When prompted, select the delivery method, fax.
  • When prompted, enter your three-digit area code and seven-digit fax number on your phone keypad.
  • When prompted, enter the number of the Item ID and press#, for up to five items.

When finished, simply hang up. If you have problems receiving a fax, please call (425) 635-3105.

ARTICLE LISTING

ITEM ID  ARTICLE TITLE                                               PAGES
Q 11352  SAMPLE: Using DLLs to Share Menus and Other Resources           1
Q 11958  SAMPLE: App Demonstrates Modal and Modeless Dialog Boxes        1
Q 24600  SAMPLE: Demonstration of Adding Menus Dynamically               1
Q 32167  SAMPLE: Code to Demonstrate Superclassing Available             2
Q 32931  SAMPLE: MAZE Program from MS Systems Journal Demonstrates DDE   1

Q 35499  SAMPLE: Expanding the Size of a Dialog Box                      2
Q 35708 SAMPLE: Using a Device Driver to Send Binary Data to a Printer 1
Q 37138  SAMPLE: Windows Journal Hooks Sample Source Code                1
Q 37657  SAMPLE: Using User-Defined Resources in Windows Applications    1
Q 38170 SAMPLE: Using Main Window Edit Menu w/ Dialog Box Edit Control 1

Q 39090  SAMPLE: Aligning the Logical and Physical Coordinate Systems    2
Q 40962  SAMPLE: Multiple Application Instance Data in a DLL             2
Q 42061  SAMPLE: Code to Access New .EXE File Headers                    1
Q 43492  SAMPLE: Creating a User-Defined Control                         1
Q 47499  SAMPLE: Sharing Global Memory Between Applications              1

Q 48713  SAMPLE: Creating the Default Border Around a Push Button        1
Q 64077  SAMPLE: QuickSort Sample Code for Windows                       1
Q 64078  SAMPLE: Right Justifying Numbers in a Windows List Box          1
Q 64326  SAMPLE: Owner-Draw: Processing WM_DRAWITEM to Draw Controls     6
Q 64328 SAMPLE: Owner-Draw: 3-D Push Button Made from Bitmaps with Text 2

Q 65792  SAMPLE: Right and Decimal-Alignment in Owner-Draw Controls      2
Q 65880  SAMPLE: Placing a Status Bar in an MDI Frame Window             1
Q 66246 SAMPLE: Using RegisterWindowMessage for Interapp Communication 1
Q 66247  SAMPLE: MENUITEMTEMPLATE Structure Is Documented Incorrectly    2
Q 66370  SAMPLE: Controlling the Horizontal Scroll Bar on a List Box     8

Q 66989  SAMPLE: Demo of a Keyboard Hook Function Keyboard Filter        2
Q 66992  SAMPLE: Drawing a Custom Border Around a Control Window         2
Q 67247  SAMPLE: MUSCROLL Custom Control Code in Software Library        2
Q 67250 SAMPLE: Generic Custom Control Sample Code in Software Library 1
Q 67677  SAMPLE: Controlling the Horizontal Scroll Bar on a List Box     2

Q 67709  SAMPLE: System Bitmaps Available Through LoadBitmap() Data      3
Q 68301  SAMPLE: Developing a Spreadsheet Application for Windows        2
Q 68556  SAMPLE: Sample Code Using a Dialog Box as the Main Window       3
Q 68560  SAMPLE: DLL Installs an ISR That Can Signal an Application      1
Q 68569  SAMPLE: Sample Code Uses PatBlt to Drag a Frame Rectangle       3

Q 68647  SAMPLE: Windows Code to Parse MS-DOS Environment Variables      1
Q 69029  SAMPLE: Code Stores Resources in a Dynamic-Link Library         1
Q 69077  SAMPLE: Using IsDialogMessage to Simulate a Dialog Box          1
Q 69078  SAMPLE: Printing Text Reports                                   2
Q 69080  SAMPLE: Simulating Drag-and-Drop Interface for Custom Control   1

Q 70006  SAMPLE: WinQuickSort(), qsort() Replacement for Windows         1
Q 70070  SAMPLE: Code to Provide Time and Date Information               4
Q 70073  SAMPLE: Code to Extract an Icon from a Windows .EXE File        2
Q 71061 SAMPLE: Owner-Draw Menu Item Width Includes a Check Mark Width 2
Q 71498  SAMPLE: Writing Volume Labels to Floppy and Hard Disks          1

Q 71660  SAMPLE: Minimal MDI Application Source in Software Library      1
Q 71670  SAMPLE: BACKGRND Demonstrates Background Processing             2
Q 72023  SAMPLE: Data Input Verification for Edit Controls               1
Q 72135  SAMPLE: Alternate MDI Tiling Scheme Code Sample Available       2
Q 72222  SAMPLE: Appending Menu Items to Other Applications              3

Q 72592  SAMPLE: TOOLHELP.DLL Functionality Demonstration                1
Q 73681  SAMPLE: DDE Sample Code in Software Library                     1
Q 74509  SAMPLE: Dynamically Changing Icons in a Modal Dialog Box        1
Q 74797  SAMPLE: Implementing Sizable Form Fields in Windows             2
Q 74799  SAMPLE: Palette Animation in Windows                            3

Q 74908  SAMPLE: Using the Palette Under Windows                         4
Q 74999  SAMPLE: Code to Demonstrate a Button Bar                        2
Q 75001  SAMPLE: Changing the Parent of a Child Window Using SetParent   1
Q 75002 SAMPLE: Changing the Default Background Color of an MDI Client 2
Q 75110  SAMPLE: Code Sample Manages Printing Reports in Applications    3

Q 75336  SAMPLE: Scrolling Dialog Box Sample Code in Software Library    1
Q 75537  SAMPLE: DLLFLOAT Converts Floating-Point Numbers to Strings     2
Q 75736  SAMPLE: Mapping Modes Code Example                              1
Q 75738  SAMPLE: Creating Accelerator Tables Dynamically                 3
Q 75846 SAMPLE: Using DrawPenData() or RedisplayPenData() to Display Ink1

Q 75910  SAMPLE: High-Resolution Timing Services                         1
Q 76474  SAMPLE: ENTER & TAB Keys in Dialog Box Multiline Edit Control   4
Q 76535  SAMPLE: Creating a Custom Raster Font                           4
Q 76588  SAMPLE: Demonstration of WH_CALLWNDPROC & WH_GETMESSAGE Hooks   1
Q 76684  SAMPLE: Code Replaces sscanf in DLLs for Windows                2

Q 77256  SAMPLE: Writing a Windows Application Using MASM 6.0            2
Q 77282  SAMPLE: Changing Color Bitmaps to Monochrome                    5
Q 77287  SAMPLE: Raising Text Size Limit for Edit Controls               1
Q 77649  Sample Source Code Demonstrates Playing Metafiles               1
Q 77783  SAMPLE: Modal Dialog Child of Modeless Dialog Box Sample Code   1

Q 77931  Sample Help File Demonstrates Win 3.1 Help Macros               1
Q 78807  SAMPLE: DDEML with Metafiles                                    2
Q 78953  SAMPLE: Code Demonstrates Using Dialog Box Templates            1
Q 79976  SAMPLE: Code Demonstrates an Application Sign-On Screen         1
Q 80225  SAMPLE: Code Demonstrates Using TrackPopupMenu                  1

Q 80226  SAMPLE: Spawn an Application and Wait Sample Code               1
Q 80360  SAMPLE: Capturing and Reproducing Ink                           1
Q 80553  SAMPLE: Changing Size of an Edit Control                        2
Q 80822  SAMPLE: Preventing Windows from Switching Tasks                 2
Q 80887 SAMPLE: Switching Between Accelerator Tables in an Application 2

Q 80946  SAMPLE: Implementing a Read-Only Edit Control In Windows        2
Q 81139  SAMPLE: Code Demonstrating Background Processing in Windows     1
Q 81140  SAMPLE: Code Demonstrates SystemParametersInfo()                1
Q 81245  SAMPLE: DeviceCapabilities Function Sample Code                 1
Q 81333  SAMPLE: Code Demonstrates Windows 3.1 WH_MOUSE Hook             1

Q 81334  SAMPLE: Code Demonstrates Using a WH_KEYBOARD Hook              2
Q 81335  SAMPLE: Code Demonstrates Multiple Instance DLL                 2
Q 81336  SAMPLE: Code Extracts and Displays Application Resources        1
Q 81337  SAMPLE: Common Dialogs and Printing Functions Sample Code       1
Q 81498  SAMPLE: DIBs and Their Uses                                     12

Q 81610  SAMPLE: Multiline Edit Control Overwrite Mode Sample Code       1
Q 81706  SAMPLE: Sample Code Demonstrates an Owner-Draw Combo Box        1
Q 81814  SAMPLE: Code Implements a "Tool Box" Window                     2
Q 81869  SAMPLE: Using mciSendCommand() to Control CD-ROM Drive          1
Q 81871  SAMPLE: Controlling the CD Using mciSendCommand()               1

Q 81872  SAMPLE: Detecting Multimedia Extensions and Drivers             1
Q 81993  SAMPLE: Controlling a Videodisc Player                          1
Q 82076  SAMPLE: Program Demonstrates Edit Control Validation            1
Q 82077  Sample Application Demonstrates Using DDEML                     2
Q 82170  SAMPLE: Code Demonstrates Creating Dialog Box in DLL            1

Q 82233  SAMPLE: TrueType Functions and Structures                       1
Q 82903  SAMPLE: Code Displays 256-Color DIB on Standard VGA             1
Q 83010  SAMPLE: Navigating a Windows Help File Topic Hierarchy          3
Q 83034 SAMPLE: Reading and Converting Between the Three GDI Resources 4
Q 83233  SAMPLE: Code Uses Keyboard Hook to Access Help                  3

Q 83234  SAMPLE: Save and Restore Window Size, Position, Sample Code     1
Q 83363  SAMPLE: Unlocking Large-Model Extra Data Segments               2
Q 83364  SAMPLE: Code Demonstrates Flashing an Edit Control              2
Q 83365  Sample Code Demonstrates Using Private Dialog-Box Class         1
Q 83556  SAMPLE: Windows 3.1 Window Styles                               2

Q 83661 SAMPLE: Executing Excel Functions with Return Values Using DDE 1
Q 83914  SAMPLE: Creating a Shortcut-Key Edit Control                    2
Q 83915  SAMPLE: Adding and Removing Caption of a Window                 2
Q 84129  SAMPLE: Code Demonstrates How to Add Menus to a Dialog Box      2
Q 84133  SAMPLE: Undesirable Interactions Between Dialog Box Types       3

Q 84456  SAMPLE: TERMWAIT Spawns Task and Waits for its Termination      2
Q 84932  SAMPLE: DLLSKEL Demonstrates DLL and Calling Application        2
Q 84978  SAMPLE: Code Simulates Changing List Box Style                  1
Q 84979  SAMPLE: Code Demonstrates Superclassing MDI Client Window       1
Q 84980  SAMPLE: Code Demonstrates Changing Dialog Box Size              1

Q 84981  SAMPLE: Code Demonstrates Keeping an Icon Fixed in Place        1
Q 85178  SAMPLE: Read-Only Edit Control Compatible with Windows 3.0      1
Q 85203  SAMPLE: Code Demonstrates Window Status Bar                     1
Q 85282  SAMPLE: Application Dynamically Links to a DLL Using a Class    1
Q 85283  SAMPLE: Application Shows Microsoft Foundation Classes          1

Q 85431  SAMPLE: Code Modifies the Font Common Dialog Box                2
Q 85633  SAMPLE: Application Splits a Window into Two Panes              1
Q 86267  SAMPLE: Using the LZFILE Functions                              1
Q 86926  SAMPLE: Using the Dynamic Data Exchange Management Library      6
Q 87343  SAMPLE: Creating a Glossary Button in Windows Help              2

Q 90485  SAMPLE: Passing Ink Between Hedit Controls                      2
Q 90486  SAMPLE: Annotating a Text File with Ink                         1
Q 90839 SAMPLE: DYNBEDIT Changes From Edit to Bedit Control @ Run Time 3
Q 92433  SAMPLE: Handling Callbacks with C++ Member Functions            1
Q 92436  SAMPLE: Demonstration of Using _fmalloc                         1

Q 92441 SAMPLE: VERSTAMP Accesses the File Version Information Resouce 1
Q 92443  SAMPLE: Using Microsoft C Compiler Options with Windows         1
Q 92537  SAMPLE: Windows Application Produces Stack Trace                2
Q 92538  SAMPLE: Corrections to the Windows 3.1 SDK Sample FONTEST       2
Q 92828  SAMPLE: Maintaining a Hidden Application                        1

Q 92829  SAMPLE: DDEML Samples Using Microsoft Foundation Classes        2
Q 92905  SAMPLE: Infinite Loop When Moving Through Dialog Box Control    4
Q 93199  SAMPLE: Code Implementing a Child Window with Menus             2
Q 94691  SAMPLE: Bitmap Manipulation Techniques                          1
Q 95333  SAMPLE: Copying a File                                          1

Q 95937  SAMPLE: DLL Which is Callable from Microsoft Setup Script       1
Q 96312  SAMPLE: Windows Application to Unload DLLs from Memory          2
Q 96789  SAMPLE: Windows Code Module to Delete Files                     1
Q 97188  SAMPLE: DRAGBMP Demonstrates Dragging Bitmaps on the Screen     2
Q 97193  SAMPLE: WINCAP Captures Screens Using DIB API                   2

Q 97265  SAMPLE: Floating-Point Samples for Windows                      2
Q 97303  SAMPLE: TOOLBAR Demonstrates Creating a Toolbar                 1
Q 97331  SAMPLE: Launching One Application for Windows from Another      1
Q 97340  SAMPLE: GetGlyphOutline() Function Demonstration                1
Q 97348  SAMPLE: MINMAX Demonstrates the WM_GETMINMAXINFO Message        1

Q 97352  SAMPLE: Palette Utilization Demonstration                       2
Q 97360  SAMPLE: Window Hierarchy and Styles                             1
Q 97365  SAMPLE: TRANSBLT Demonstrates Bitmaps with Transparency         1
Q 97371  SAMPLE: A Virtual List Box Implementation                       1
Q 97396  SAMPLE: Hierarchical List in Owner-Draw List Box                1

Q 97397  SAMPLE: FONTUTIL.RTF - Technical Article                        1
Q 97399  SAMPLE: Implementing Owner-Draw Combo Boxes                     1
Q 97402  SAMPLE: Measuring System Timings by Using Printer Port          1
Q 97408  SAMPLE: DDEEXEC Demonstrates DDE Execute Strings                2
Q 97409  SAMPLE: DDESERV Demonstrates a Basic DDE Server                 2

Q 97940  SAMPLE: Global Heap Functions                                   1
Q 98619  SAMPLE: PATPOLY Demos Polygon Filled with Dithered Color        1
Q 98626  SAMPLE: Annotating and Printing Text and Ink Together           1
Q 98627  SAMPLE: Advanced ALC_ Sample and ShowKeyboard() Sample          1
Q 98681  SAMPLE: VIEW Demonstrates Drawing Ink at a Slower Rate          2

Q 99797  SAMPLE: Simple Training Techniques for a Recognizer             2
Q 99803  SAMPLE: Customizing the MDI Window Menu                         2
Q 99807  SAMPLE: Shell DDE Using DDEML                                   2
Q 99808  SAMPLE: Changing Background and Text Color of Message Box       1
Q 99862  SAMPLE: Connect Net Drive--a File Manager Extension             1

Q 100357 SAMPLE: Accelerators for File Manager Extensions                1
Q 100366 SAMPLE: lstrcmpi, Accented Chars, and Sort Order in Windows     4
Q 100947 SAMPLE: Port Trapping in Windows 3.0/3.1                        2
Q 102870 SAMPLE: Reading the Boot Sector of a Drive                      2
Q 103210 SAMPLE: Desiging DLLs for Multiple Client Applications          1

Q 103213 SAMPLE: Printing in Visual Basic and C                          1
Q 103214 SAMPLE: Updating the Screen Without Flicker                     1
Q 103215 SAMPLE: Animation in Windows                                    2
Q 103217 SAMPLE: Synchronizing Applications with CD Audio                2
Q 103219 SAMPLE: Testing to See if a Drive is a CD-ROM                   1

Q 103223 SAMPLE: Trapping System RIPs and Other Notification Messages    1
Q 103225 SAMPLE: Processing Nonclient Messages with Msg Blaster Control 1
Q 103226 SAMPLE: Mixed-Language Application (VB, COBOL, SQL)             2
Q 103227 SAMPLE: Visual Basic Using Windows DLLs                         1
Q 103228 SAMPLE: DDE Communication Over a Network                        1

Q 103230 SAMPLE: DDE Client Over a Network                               1
Q 103318 SAMPLE: Moving an Item in a List Box Using Drag and Drop        1
Q 103337 SAMPLE: Retrieving Status of Text Box Using Windows Messages    1
Q 103339 SAMPLE: BitBlt and StretchBlt Animation                         1
Q 103341 SAMPLE: GDI Region, Clipping, and Bitmap Functions              1

Q 103342 SAMPLE: File Input and Output in Visual Basic                   1
Q 103343 SAMPLE: Using DDE to Create Program Manager Groups and Items    1
Q 103345 SAMPLE: Demonstrates BitBlts to Shuffle Around the Screen       1
Q 103375 SAMPLE: Code Demonstrates Dynamic Child Dialog Boxes            3
Q 103399 SAMPLE: Rebooting an MSSetup Script on User Request             2

Q 103856 SAMPLE: Subclassing VBX Controls with MFC 2.0                   2
Q 104096 SAMPLE: INIHEADR Sample Reads Section Headers from .INI Files   2
Q 104792 SAMPLE: Sample Demonstrates Read-Only Pop-Up Window w/ Shadow   2
Q 105116 SAMPLE: SpawnAndWait DLL Provides Synchronous Spawn Function    3
Q 105501 SAMPLE: Dialing a Modem in Windows 3.1                          1

Q 112640 SAMPLE: Paging Down in an Owner-Draw Variable List Box          3
Q 112641 SAMPLE: Using ExtDeviceMode() to Modify Printer Settings        7
Q 113189 SAMPLE: Implementing a List Box Full of Dialog Boxes            2
Q 113190 SAMPLE: WFW Named Pipe Client                                   2
Q 113262 SAMPLE: Plotting TrueType Characters                            2

Q 114603 SAMPLE: Troubleshooting Guide for the 16-bit Setup Toolkit      1
Q 115566 SAMPLE: Open Multiple AVIs, Use of MCI_PUT Command              2
Q 115761 SAMPLE: SPINDIB Demonstrates 90-degree DIB Rotation             1
Q 116082 SAMPLE: Using MCI Commands in Visual Basic                      2
Q 116293 SAMPLE: Direct-to-Disk Recorder with ACM                        2

Q 120253 SAMPLE: Multimedia Registration Kit revision 3.0                2
Q 121208 SAMPLE: SNDPLAY Sample Plays a Sound File                       1
Q 121209 SAMPLE: MIDIIO Sample Demonstrates MIDI Input and Output        1
Q 121210 SAMPLE: MIDISX.EXE Demos MIDI System Exclusive Communication    1
Q 129658 SAMPLE: Reading and Writing Aldus Placeable Metafiles           1

End of listing.

Keywords          : CodeSam kb16bitonly kbcode kblist kbcode kbref kbtlc kbwebcontent
Version           : 3.1
Platform          : WINDOWS
Issue type        : kbref
Solution Type     : kbcode


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.