关于自己的第一个windows程序(新手使用WIN32 API编程)
自己的第一个windows程序,使用WIN32 API,当初也是胡里胡涂的,为了更好的了解,自己就全部都写上了注释,供大家参考
刚开发时,API中的缩写最使人头疼,我那时也总结了一下:
| H | Handle | Cls | Class |
| WND | Window | WindowProc | Window Process |
| def | Define | CT | Const |
| sz | String Zero | PARAM | Parameter |
| fu | Function | CS_ | Class Style |
| prev | Prevenient | WM_ | Window Message |
| cb | Combo Box | SW_ | Show Window |
| br | Brush | CW_ | Class Window |
| msg | Message | MB_ | Message Button |
| ps | Pain Struct | IDC_ | Identify Curor |
| lp | Long Point | IDI_ | Identify Icon |