Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: DrawRect Download
 Description: Design a simple MFC program, which position the mouse left click to draw a rectangle, rectangle size is random. Design: (1) in a program to define a rectangular array, used to store a randomly generated rectangle. (2) to the mouse click position as the center, random function rand () produces a number of side length generates a rectangle and rectangle stored in a rectangular array. (3) and then generates a WM_PAINT message, and in the corresponding message handler redraw all the rectangles in the array. (Source code for a very complete notes to facilitate readers to understand the program)
 Downloaders recently: [More information of uploader xiaoyezi]
 To Search:
File list (Check if you may need any files):
 

Rect
....\Debug
....\.....\Rect.exe
....\.....\Rect.ilk
....\.....\Rect.obj
....\.....\Rect.pch
....\.....\Rect.pdb
....\.....\vc60.idb
....\.....\vc60.pdb
....\Rect.clw
....\Rect.cpp
....\Rect.dsp
....\Rect.dsw
....\Rect.ncb
....\Rect.opt
....\Rect.plg
....\StdAfx.cpp
....\StdAfx.h
    

CodeBus www.codebus.net