Windows API一日一练

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

WindowsAPI一日一练转载自大坡3D软件开发整理收集,大坡3D软件开发持续更新中„„1WindowsAPI一日一练(1)第一个应用程序---------------------------------------------------------------3WindowsAPI一日一练(2)使用应用程序句柄------------------------------------------------------------4WindowsAPI一日一练(3)使用命令行参数---------------------------------------------------------------6WindowsAPI一日一练(4)MessageBox函数--------------------------------------------------------9WindowsAPI一日一练(5)RegisterClass和RegisterClassEx函数---------------11WindowsAPI一日一练(6)CreateWindow函数-------------------------------------------------14WindowsAPI一日一练(7)ShowWindow函数---------------------------------------------------17WindowsAPI一日一练(8)UpdateWindow函数------------------------------------------------18WindowsAPI一日一练(9)WindowProc和DefWindowProc函数-----------------20WindowsAPI一日一练(10)LoadAccelerators函数------------------------------------------22WindowsAPI一日一练(11)GetMessage函数----------------------------------------------------24WindowsAPI一日一练(12)TranslateAccelerator函数-----------------------------------26WindowsAPI一日一练(13)TranslateMessage函数----------------------------------------28WindowsAPI一日一练(14)DispatchMessage函数------------------------------------------30WindowsAPI一日一练(15)PostQuitMessage函数------------------------------------------32WindowsAPI一日一练(16)BeginPaint和EndPaint函数-------------------------------34WindowsAPI一日一练(17)DialogBox和DialogBoxParam函数------------------36WindowsAPI一日一练(18)EndDialog函数--------------------------------------------------------39WindowsAPI一日一练(19)DestroyWindow函数--------------------------------------------40WindowsAPI一日一练(20)LoadString、LoadIcon和LoadCursor函数-----42WindowsAPI一日一练(21)SetWindowLongPtr和GetWindowLongPtr函数--------------------------------------------------------------------------------------------------------------------------------------45WindowsAPI一日一练(23)SetTextColor函数--------------------------------------------------50WindowsAPI一日一练(24)DrawText函数---------------------------------------------------------52WindowsAPI一日一练(25)CreateSolidBrush函数------------------------------------------54WindowsAPI一日一练(27)SetBkMode函数------------------------------------------------------56WindowsAPI一日一练(28)CreateFont函数------------------------------------------------------59WindowsAPI一日一练(29)SelectObject和DeleteObject函数--------------------61WindowsAPI一日一练(30)GetTextMetrics函数----------------------------------------------63WindowsAPI一日一练(31)MoveToEx和LineTo函数-------------------------------------66WindowsAPI一日一练(32)CreatePen函数-------------------------------------------------------66WindowsAPI一日一练(33)ExtCreatePen函数-------------------------------------------------68WindowsAPI一日一练(34)GetSysColor函数----------------------------------------------------70WindowsAPI一日一练(36)SetWindowText函数---------------------------------------------72WindowsAPI一日一练(37)MoveWindow函数-------------------------------------------------73WindowsAPI一日一练(38)SetWindowPos函数----------------------------------------------75WindowsAPI一日一练(39)AnimateWindow函数-------------------------------------------77WindowsAPI一日一练(40)CreateRectRgn和CombineRgn函数----------------79WindowsAPI一日一练(41)FindWindowEx函数-----------------------------------------------80WindowsAPI一日一练(42)CreateThread函数-------------------------------------------------82WindowsAPI一日一练(43)WaitForSingleObject函数-----------------------------------84WindowsAPI一日一练(44)wsprintf函数-----------------------------------------------------------87WindowsAPI一日一练(45)CreateEvent和SetEvent函数-----------------------------90WindowsAPI一日一练(46)EnterCriticalSection和LeaveCriticalSection函WindowsAPI一日一练转载自大坡3D软件开发整理收集,大坡3D软件开发持续更新中„„2数----------------------------------------------------------------------------------------------------------------------------------94WindowsAPI一日一练(47)CreateSemaphore和ReleaseSemaphore函数--------------------------------------------------------------------------------------------------------------------------------------96WindowsAPI一日一练(48)PostThreadMessage函数------------------------------------99WindowsAPI一日一练(49)SetThreadPriority和GetThreadPriority函数-------------------------------------------------------------------------------------------------------------------------------------102WindowsAPI一日一练(50)SuspendThread和ResumeThread函数---------103WindowsAPI一日一练(51)CreateDirectory和RemoveDirectory函数----104WindowsAPI一日一练(52)GetCurrentDirectory和SetCurrentDirectory函数---------------------------------------------------------------------------------------------------------------------------------106WindowsAPI一日一练(53)CreateFile函数-------------------------------------------------------107WindowsAPI一日一练(54)WriteFile和ReadFile函数-----------------------------------109WindowsAPI一日一练(55)FlushFileBuffers和SetFilePointer函数----------112WindowsAPI一日一练(56)SetEndOfFile和GetFileSizeEx函数------------------114WindowsAPI一日一练(57)CopyFile和MoveFile函数---------------------------

1 / 185
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功