This is a simple etch-a-sketch application. It demonstrates how to draw on a form using the PSet function, and how to capture key events using the GetKeyState API function.
这是一个简单的刻蚀草图应用程序。它演示了如何使用PSet函数在一个窗体上绘制图形,以及如何使用GetKeyState API函数来捕获键事件。
来源: http://www.freevbcode.com/ShowCode.Asp?ID=2619