§ 01. Install DirectX 8
Install the DirectX 8 SDK (software development kit ).
02. DirectX 8 path setting
Set the include and Lib paths and integrate the compilation environment.
§ 03. Compile the Direct Draw sample
Compile the sample program that comes with the SDK.
§ 04. Move the sample to another folder
Set the shared program file in common.
§ 05. The simplest windows program
The program that outputs the debug message.
Learn how to create and operate a project.
§ 06. Display dialog box (dialog box)
Describe how to create and display dialog box.
§ 07. Window Creation and message box
Generate the DirectX 8 window.
Briefly describe the parameters of winmain.
§ 08. Display Hello DirectX 8!
Creates and depicts the surface for storing strings ).
§ 09. display a true color bitmap image
Creates and depicts the surface for storing bitmap images ).
§ 10. Play Music (MIDI files)
Specify the MIDI file name in the program to play the music.
§ 11. Use a background image and a transparent text Representation
Store the background image (320*240) to the surface that adapts to the image size (640*480.
Set the transparent color (black) for the text so that the background can be seen.
Take a closer look at the source program.
§ 12. display the bitmap image in window mode
Window mode.
When the drag window is changed, the image scales with the screen.
13. Scroll background
Move two consecutive side-by-side background images to the rectangular area on one side, and scroll the image.
Take a closer look at the source program in window mode.
§ 14. depict circles and rectangles
Obtain the buckbuffer (background cache) in window mode and directly depict the circle and rectangle.
§ 15. Create a private library (mydx8.lib)
Describes how to create a private library and its header files.