希望这是一个可资依赖的消息列表, 这个消息列表是从spy++的消息列表框中取出的, 从winuser.h文件入手分析也是一种办法.
用snagit让这个巨长的列表框自动滚动并把结果存入一个.png文件, 再用Findreader 把文件OCR出来.
就得到了下面的消息列表
其中975是在PlatformSDK的头文件中有定义的, 34个是由MFC和3d controls定义的私有消息.
如何确保这975个消息都是正确的, 把它们全部COPY到一个 test.c 文件中.
一行一个, 不过要以;结尾, 正如
3;
在C语言里是合法的一样, 这个宏只要被正确地找到就能通过编译.
记得在文件头写上
#define _WIN32_WINNT 0x501
#define WINVER 0x501
#define
#include
#include
#include
#include
#include
#include
#include
int main()
{
#define SHOW(msg) printf("%-34s = %#06x;\n", #msg, msg);
SHOW(WM_CREATE);
SHOW(WM_SHOWWINDOW);
...;
return 0;
}
在DOS窗口下试试能不能通过编译
cl /c test.c
通过就说明这些宏都是OK的. 下面是975个这样的宏, 梁山有108好汉, windows有1009的消息, 乖乖, windows编程之复杂, 可以想象(CU的blog都不允许一篇文章这么长, 只要分成两个):
==============
0001. WM_DEVICECHANGE = 0x0219;
0002. WM_POWERBROADCAST = 0x0218;
0003. WM_NOTIFY = 0x004e;
0004. WM_MOUSEWHEEL = 0x020a;
0005. WM_MOUSELEAVE = 0x02a3;
0006. WM_MOUSEHOVER = 0x02a1;
0007. WM_CONTEXTMENU = 0x007b;
0008. EM_SCROLLCARET = 0x00b7;
0009. EM_POSFROMCHAR = 0x00d6;
0010. EM_GETLIMITTEXT = 0x00d5;
0011. EM_CHARFROMPOS = 0x00d7;
0012. CBEM_SETEXSTYLE = 0x0408;
0013. ACM_OPENA = 0x0464;
0014. ACM_OPENW = 0x0467;
0015. ACM_PLAY = 0x0465;
0016. ACM_STOP = 0x0466;
0017. BM_CLICK = 0x00f5;
0018. BM_GETCHECK = 0x00f0;
0019. BM_GETIMAGE = 0x00f6;
0020. BM_GETSTATE = 0x00f2;
0021. BM_SETCHECK = 0x00f1;
0022. BM_SETIMAGE = 0x00f7;
0023. BM_SETSTATE = 0x00f3;
0024. BM_SETSTYLE = 0x00f4;
0025. CB_ADDSTRING = 0x0143;
0026. CB_DELETESTRING = 0x0144;
0027. CB_DIR = 0x0145;
0028. CB_FINDSTRING = 0x014c;
0029. CB_FINDSTRINGEXACT = 0x0158;
0030. CB_GETCOMBOBOXINFO = 0x0164;
0031. CB_GETCOUNT = 0x0146;
0032. CB_GETCURSEL = 0x0147;
0033. CB_GETDROPPEDSTATE = 0x0157;
0034. CB_GETDROPPEDWIDTH = 0x015f;
0035. CB_GETEDITSEL = 0x0140;
0036. CB_GETEXTENDEDUI = 0x0156;
0037. CB_GETHORIZONTALEXTENT = 0x015d;
0038. CB_GETITEMDATA = 0x0150;
0039. CB_GETITEMHEIGHT = 0x0154;
0040. CB_GETLBTEXT = 0x0148;
0041. CB_GETLBTEXTLEN = 0x0149;
0042. CB_GETLOCALE = 0x015a;
0043. CB_GETTOPINDEX = 0x015b;
0044. CB_INITSTORAGE = 0x0161;
0045. CB_INSERTSTRING = 0x014a;
0046. CB_LIMITTEXT = 0x0141;
0047. CB_RESETCONTENT = 0x014b;
0048. CB_SELECTSTRING = 0x014d;
0049. CB_SETCURSEL = 0x014e;
0050. CB_SETDROPPEDWIDTH = 0x0160;
0051. CB_SETEDITSEL = 0x0142;
0052. CB_SETEXTENDEDUI = 0x0155;
0053. CB_SETHORIZONTALEXTENT = 0x015e;
0054. CB_SETITEMDATA = 0x0151;
0055. CB_SETITEMHEIGHT = 0x0153;
0056. CB_SETLOCALE = 0x0159;
0057. CB_SETTOPINDEX = 0x015c;
0058. CB_SHOWDROPDOWN = 0x014f;
0059. CBEM_GETCOMBOCONTROL = 0x0406;
0060. CBEM_GETEDITCONTROL = 0x0407;
0061. CBEM_GETEXTENDEDSTYLE = 0x0409;
0062. CBEM_GETIMAGELIST = 0x0403;
0063. CBEM_GETITEMA = 0x0404;
0064. CBEM_GETITEMW = 0x040d;
0065. CBEM_HASEDITCHANGED = 0x040a;
0066. CBEM_INSERTITEMA = 0x0401;
0067. CBEM_INSERTITEMW = 0x040b;
0068. CBEM_SETEXTENDEDSTYLE = 0x040e;
0069. CBEM_SETIMAGELIST = 0x0402;
0070. CBEM_SETITEMA = 0x0405;
0071. CBEM_SETITEMW = 0x040c;
0072. CCM_GETCOLORSCHEME = 0x2003;
0073. CCM_GETDROPTARGET = 0x2004;
0074. CCM_GETUNICODEFORMAT = 0x2006;
0075. CCM_GETVERSION = 0x2008;
0076. CCM_SETBKCOLOR = 0x2001;
0077. CCM_SETCOLORSCHEME = 0x2002;
0078. CCM_SETNOTIFYWINDOW = 0x2009;
0079. CCM_SETUNICODEFORMAT = 0x2005;
0080. CCM_SETVERSION = 0x2007;
0081. CCM_SETWINDOWTHEME = 0x200b;
0082. DM_GETDEFID = 0x0400;
0083. DM_REPOSITION = 0x0402;
0084. DM_SETDEFID = 0x0401;
0085. DTM_GETMCCOLOR = 0x1007;
0086. DTM_GETMCFONT = 0x100a;
0087. DTM_GETMONTHCAL = 0x1008;
0088. DTM_GETRANGE = 0x1003;
0089. DTM_GETSYSTEMTIME = 0x1001;
0090. DTM_SETFORMATA = 0x1005;
0091. DTM_SETFORMATW = 0x1032;
0092. DTM_SETMCCOLOR = 0x1006;
0093. DTM_SETMCFONT = 0x1009;
0094. DTM_SETRANGE = 0x1004;
0095. DTM_SETSYSTEMTIME = 0x1002;
0096. EM_AUTOURLDETECT = 0x045b;
0097. EM_CANPASTE = 0x0432;
0098. EM_CANREDO = 0x0455;
0099. EM_CANUNDO = 0x00c6;
0100. EM_CONVPOSITION = 0x046c;
0101. EM_DISPLAYBAND = 0x0433;
0102. EM_EMPTYUNDOBUFFER = 0x00cd;
0103. EM_EXGETSEL = 0x0434;
0104. EM_EXLIMITTEXT = 0x0435;
0105. EM_EXLINEFROMCHAR = 0x0436;
0106. EM_EXSETSEL = 0x0437;
0107. EM_FINDTEXT = 0x0438;
0108. EM_FINDTEXTW = 0x047b;
0109. EM_FINDTEXTEX = 0x044f;
0110. EM_FINDTEXTEXW = 0x047c;
0111. EM_FINDWORDBREAK = 0x044c;
0112. EM_FMTLINES = 0x00c8;
0113. EM_FORMATRANGE = 0x0439;
0114. EM_GETAUTOURLDETECT = 0x045c;
0115. EM_GETBIDIOPTIONS = 0x04c9;
0116. EM_GETEDITSTYLE = 0x04cd;
0117. EM_GETEVENTMASK = 0x043b;
0118. EM_GETFIRSTVISIBLELINE = 0x00ce;
0119. EM_GETHANDLE = 0x00bd;
0120. EM_GETIMECOLOR = 0x0469;
0121. EM_GETIMECOMPMODE = 0x047a;
0122. EM_GETIMEMODEBIAS = 0x047f;
0123. EM_GETIMEOPTIONS = 0x046b;
0124. EM_GETIMESTATUS = 0x00d9;
0125. EM_GETLANGOPTIONS = 0x0479;
0126. EM_GETLINE = 0x00c4;
0127. EM_GETLINECOUNT = 0x00ba;
0128. EM_GETMARGINS = 0x00d4;
0129. EM_GETMODIFY = 0x00b8;
0130. EM_GETOLEINTERFACE = 0x043c;
0131. EM_GETOPTIONS = 0x044e;
0132. EM_GETPARAFORMAT = 0x043d;
0133. EM_GETPASSWORDCHAR = 0x00d2;
0134. EM_GETPUNCTUATION = 0x0465;
0135. EM_GETRECT = 0x00b2;
0136. EM_GETREDONAME = 0x0457;
0137. EM_GETSCROLLPOS = 0x04dd;
0138. EM_GETSEL = 0x00b0;
0139. EM_GETSELTEXT = 0x043e;
0140. EM_GETTEXTEX = 0x045e;
0141. EM_GETTEXTLENGTHEX = 0x045f;
0142. EM_GETTEXTMODE = 0x045a;
0143. EM_GETTHUMB = 0x00be;
0144. EM_GETTYPOGRAPHYOPTIONS = 0x04cb;
0145. EM_GETUNDONAME = 0x0456;
0146. EM_GETWORDBREAKPROC = 0x00d1;
0147. EM_GETWORDBREAKPROCEX = 0x0450;
0148. EM_GETWORDWRAPMODE = 0x0467;
0149. EM_GETZOOM = 0x04e0;
0150. EM_HIDESELECTION = 0x043f;
0151. EM_LINEFROMCHAR = 0x00c9;
0152. EM_LINEINDEX = 0x00bb;
0153. EM_LINELENGTH = 0x00c1;
0154. EM_LINESCROLL = 0x00b6;
0155. EM_OUTLINE = 0x04dc;
0156. EM_PASTESPECIAL = 0x0440;
0157. EM_RECONVERSION = 0x047d;
0158. EM_REDO = 0x0454;
0159. EM_REPLACESEL = 0x00c2;
0160. EM_REQUESTRESIZE = 0x0441;
0161. EM_SCROLL = 0x00b5;
0162. EM_SELECTIONTYPE = 0x0442;
0163. EM_SETBIDIOPTIONS = 0x04c8;
0164. EM_SETBKGNDCOLOR = 0x0443;
0165. EM_SETEDITSTYLE = 0x04cc;
0166. EM_SETEVENTMASK = 0x0445;
0167. EM_SETFONTSIZE = 0x04df;
0168. EM_SETHANDLE = 0x00bc;
0169. EM_SETIMECOLOR = 0x0468;
0170. EM_SETIMEMODEBIAS = 0x047e;
0171. EM_SETIMEOPTIONS = 0x046a;
0172. EM_SETIMESTATUS = 0x00d8;
0173. EM_SETLANGOPTIONS = 0x0478;
0174. EM_SETLIMITTEXT = 0x00c5;
0175. EM_SETMARGINS = 0x00d3;
0176. EM_SETMODIFY = 0x00b9;
0177. EM_SETOPTIONS = 0x044d;
0178. EM_SETPALETTE = 0x045d;
0179. EM_SETPARAFORMAT = 0x0447;
0180. EM_SETPASSWORDCHAR = 0x00cc;
0181. EM_SETPUNCTUATION = 0x0464;
0182. EM_SETREADONLY = 0x00cf;
0183. EM_SETRECT = 0x00b3;
0184. EM_SETRECTNP = 0x00b4;
0185. EM_SETSCROLLPOS = 0x04de;
0186. EM_SETSEL = 0x00b1;
0187. EM_SETTABSTOPS = 0x00cb;
0188. EM_SETTARGETDEVICE = 0x0448;
0189. EM_SETTEXTEX = 0x0461;
0190. EM_SETTEXTMODE = 0x0459;
0191. EM_SETTYPOGRAPHYOPTIONS = 0x04ca;
0192. EM_SETWORDBREAKPROC = 0x00d0;
0193. EM_SETWORDBREAKPROCEX = 0x0451;
0194. EM_SETWORDWRAPMODE = 0x0466;
0195. EM_SETZOOM = 0x04e1;
0196. EM_SHOWSCROLLBAR = 0x0460;
0197. EM_STOPGROUPTYPING = 0x0458;
0198. EM_STREAMIN = 0x0449;
0199. EM_STREAMOUT = 0x044a;
0200. EM_UNDO = 0x00c7;
0201. HDM_CREATEDRAGIMAGE = 0x1210;
0202. HDM_DELETEITEM = 0x1202;
0203. HDM_EDITFILTER = 0x1217;
0204. HDM_GETBITMAPMARGIN = 0x1215;
0205. HDM_GETIMAGELIST = 0x1209;
0206. HDM_GETITEMA = 0x1203;
0207. HDM_GETITEMW = 0x120b;
0208. HDM_GETITEMCOUNT = 0x1200;
0209. HDM_GETITEMRECT = 0x1207;
0210. HDM_GETORDERARRAY = 0x1211;
0211. HDM_HITTEST = 0x1206;
0212. HDM_INSERTITEMA = 0x1201;
0213. HDM_INSERTITEMW = 0x120a;
0214. HDM_LAYOUT = 0x1205;
0215. HDM_ORDERTOINDEX = 0x120f;
0216. HDM_SETBITMAPMARGIN = 0x1214;
0217. HDM_SETIMAGELIST = 0x1208;
0218. HDM_SETITEMA = 0x1204;
0219. HDM_SETITEMW = 0x120c;
0220. HDM_SETORDERARRAY = 0x1212;
0221. HKM_GETHOTKEY = 0x0402;
0222. HKM_SETHOTKEY = 0x0401;
0223. HKM_SETRULES = 0x0403;
0224. IPM_CLEARADDRESS = 0x0464;
0225. IPM_GETADDRESS = 0x0466;
0226. IPM_ISBLANK = 0x0469;
0227. IPM_SETADDRESS = 0x0465;
0228. IPM_SETFOCUS = 0x0468;
0229. IPM_SETRANGE = 0x0467;
0230. LB_ADDFILE = 0x0196;
0231. LB_ADDSTRING = 0x0180;
0232. LB_DELETESTRING = 0x0182;
0233. LB_DIR = 0x018d;
0234. LB_FINDSTRING = 0x018f;
0235. LB_FINDSTRINGEXACT = 0x01a2;
0236. LB_GETANCHORINDEX = 0x019d;
0237. LB_GETCARETINDEX = 0x019f;
0238. LB_GETCOUNT = 0x018b;
0239. LB_GETCURSEL = 0x0188;
0240. LB_GETHORIZONTALEXTENT = 0x0193;
0241. LB_GETITEMDATA = 0x0199;
0242. LB_GETITEMHEIGHT = 0x01a1;
0243. LB_GETITEMRECT = 0x0198;
0244. LB_GETLOCALE = 0x01a6;
0245. LB_GETSEL = 0x0187;
0246. LB_GETSELCOUNT = 0x0190;
0247. LB_GETSELITEMS = 0x0191;
0248. LB_GETTEXT = 0x0189;
0249. LB_GETTEXTLEN = 0x018a;
0250. LB_GETTOPINDEX = 0x018e;
0251. LB_INITSTORAGE = 0x01a8;
0252. LB_INSERTSTRING = 0x0181;
0253. LB_ITEMFROMPOINT = 0x01a9;
0254. LB_RESETCONTENT = 0x0184;
0255. LB_SELECTSTRING = 0x018c;
0256. LB_SELITEMRANGE = 0x019b;
0257. LB_SELITEMRANGEEX = 0x0183;
0258. LB_SETANCHORINDEX = 0x019c;
0259. LB_SETCARETINDEX = 0x019e;
0260. LB_SETCOLUMNWIDTH = 0x0195;
0261. LB_SETCOUNT = 0x01a7;
0262. LB_SETCURSEL = 0x0186;
0263. LB_SETHORIZONTALEXTENT = 0x0194;
0264. LB_SETITEMDATA = 0x019a;
0265. LB_SETITEMHEIGHT = 0x01a0;
0266. LB_SETLOCALE = 0x01a5;
0267. LB_SETSEL = 0x0185;
0268. LB_SETTABSTOPS = 0x0192;
0269. LB_SETTOPINDEX = 0x0197;
0270. LM_GETIDEALHEIGHT = 0x0701;
0271. LM_GETITEM = 0x0703;
0272. LM_HITTEST = 0x0700;
0273. LM_SETITEM = 0x0702;
0274. LVM_APPROXIMATEVIEWRECT = 0x1040;
0275. LVM_ARRANGE = 0x1016;
0276. LVM_CANCELEDITLABEL = 0x10b3;
0277. LVM_CREATEDRAGIMAGE = 0x1021;
0278. LVM_DELETEALLITEMS = 0x1009;
0279. LVM_DELETECOLUMN = 0x101c;
0280. LVM_DELETEITEM = 0x1008;
0281. LVM_EDITLABELA = 0x1017;
0282. LVM_EDITLABELW = 0x1076;
0283. LVM_ENABLEGROUPVIEW = 0x109d;
0284. LVM_ENSUREVISIBLE = 0x1013;
0285. LVM_FINDITEMA = 0x100d;
0286. LVM_FINDITEMW = 0x1053;
0287. LVM_GETBKCOLOR = 0x1000;
0288. LVM_GETBKIMAGEA = 0x1045;
0289. LVM_GETBKIMAGEW = 0x108b;
0290. LVM_GETCALLBACKMASK = 0x100a;
0291. LVM_GETCOLUMNA = 0x1019;
0292. LVM_GETCOLUMNW = 0x105f;
0293. LVM_SETCOLUMNORDERARRAY = 0x103a;
0294. LVM_GETCOLUMNWIDTH = 0x101d;
0295. LVM_GETCOUNTPERPAGE = 0x1028;
0296. LVM_GETEDITCONTROL = 0x1018;
0297. LVM_GETEXTENDEDLISTVIEWSTYLE = 0x1037;
0298. LVM_GETGROUPINFO = 0x1095;
0299. LVM_GETGROUPMETRICS = 0x109c;
0300. LVM_GETHEADER = 0x101f;
0301. LVM_GETHOTCURSOR = 0x103f;
0302. LVM_GETHOTITEM = 0x103d;
0303. LVM_GETHOVERTIME = 0x1048;
0304. LVM_GETIMAGELIST = 0x1002;
0305. LVM_GETINSERTMARK = 0x10a7;
0306. LVM_GETINSERTMARKCOLOR = 0x10ab;
0307. LVM_GETINSERTMARKRECT = 0x10a9;
0308. LVM_GETISEARCHSTRINGA = 0x1034;
0309. LVM_GETISEARCHSTRINGW = 0x1075;
0310. LVM_GETITEMA = 0x1005;
0311. LVM_GETITEMW = 0x104b;
0312. LVM_GETITEMCOUNT = 0x1004;
0313. LVM_GETITEMPOSITION = 0x1010;
0314. LVM_GETITEMRECT = 0x100e;
0315. LVM_GETITEMSPACING = 0x1033;
0316. LVM_GETITEMSTATE = 0x102c;
0317. LVM_GETITEMTEXTA = 0x102d;
0318. LVM_GETITEMTEXTW = 0x1073;
0319. LVM_GETNEXTITEM = 0x100c;
0320. LVM_GETORIGIN = 0x1029;
0321. LVM_GETOUTLINECOLOR = 0x10b0;
0322. LVM_GETSELECTEDCOLUMN = 0x10ae;
0323. LVM_GETSELECTEDCOUNT = 0x1032;
0324. LVM_GETSELECTIONMARK = 0x1042;
0325. LVM_GETSTRINGWIDTHA = 0x1011;
0326. LVM_GETSTRINGWIDTHW = 0x1057;
0327. LVM_GETSUBITEMRECT = 0x1038;
0328. LVM_GETTEXTBKCOLOR = 0x1025;
0329. LVM_GETTEXTCOLOR = 0x1023;
0330. LVM_GETTILEINFO = 0x10a5;
0331. LVM_GETTILEVIEWINFO = 0x10a3;
0332. LVM_GETTOOLTIPS = 0x104e;
0333. LVM_GETTOPINDEX = 0x1027;
0334. LVM_GETVIEW = 0x108f;
0335. LVM_GETVIEWRECT = 0x1022;
0336. LVM_GETWORKAREAS = 0x1046;
0337. LVM_HASGROUP = 0x10a1;
0338. LVM_HITTEST = 0x1012;
0339. LVM_INSERTCOLUMNA = 0x101b;
0340. LVM_INSERTCOLUMNW = 0x1061;
0341. LVM_INSERTGROUP = 0x1091;
0342. LVM_INSERTGROUPSORTED = 0x109f;
0343. LVM_INSERTITEMA = 0x1007;
0344. LVM_INSERTITEMW = 0x104d;
0345. LVM_INSERTMARKHITTEST = 0x10a8;
0346. LVM_ISGROUPVIEWENABLED = 0x10af;
0347. LVM_MOVEGROUP = 0x1097;
0348. LVM_MOVEITEMTOGROUP = 0x109a;
0349. LVM_REDRAWITEMS = 0x1015;
0350. LVM_REMOVEALLGROUPS = 0x10a0;
0351. LVM_REMOVEGROUP = 0x1096;
0352. LVM_SCROLL = 0x1014;
0353. LVM_SETBKCOLOR = 0x1001;
0354. LVM_SETBKIMAGEA = 0x1044;
0355. LVM_SETBKIMAGEW = 0x108a;
0356. LVM_SETCALLBACKMASK = 0x100b;
0357. LVM_SETCOLUMNA = 0x101a;
0358. LVM_SETCOLUMNW = 0x1060;
0359. LVM_SETCOLUMNORDERARRAY = 0x103a;
0360. LVM_SETCOLUMNWIDTH = 0x101e;
0361. LVM_SETGROUPINFO = 0x1093;
0362. LVM_SETGROUPMETRICS = 0x109b;
0363. LVM_SETHOTCURSOR = 0x103e;
0364. LVM_SETHOTITEM = 0x103c;
0365. LVM_SETHOVERTIME = 0x1047;
0366. LVM_SETICONSPACING = 0x1035;
0367. LVM_SETIMAGELIST = 0x1003;
0368. LVM_SETINSERTMARK = 0x10a6;
0369. LVM_SETINSERTMARKCOLOR = 0x10aa;
0370. LVM_SETITEMA = 0x1006;
0371. LVM_SETITEMW = 0x104c;
0372. LVM_SETITEMCOUNT = 0x102f;
0373. LVM_SETITEMPOSITION = 0x100f;
0374. LVM_SETITEMPOSITION32 = 0x1031;
0375. LVM_SETITEMSTATE = 0x102b;
0376. LVM_SETITEMTEXTA = 0x102e;
0377. LVM_SETITEMTEXTW = 0x1074;
0378. LVM_SETOUTLINECOLOR = 0x10b1;
0379. LVM_SETSELECTEDCOLUMN = 0x108c;
0380. LVM_SETSELECTIONMARK = 0x1043;
0381. LVM_SETTEXTBKCOLOR = 0x1026;
0382. LVM_SETTEXTCOLOR = 0x1024;
0383. LVM_SETTILEINFO = 0x10a4;
0384. LVM_SETTILEVIEWINFO = 0x10a2;
0385. LVM_SETTILEWIDTH = 0x108d;
0386. LVM_SETTOOLTIPS = 0x104a;
0387. LVM_SETVIEW = 0x108e;
0388. LVM_SETWORKAREAS = 0x1041;
0389. LVM_SORTGROUPS = 0x109e;
0390. LVM_SORTITEMS = 0x1030;
0391. LVM_SORTITEMSEX = 0x1051;
0392. LVM_SUBITEMHITTEST = 0x1039;
0393. LVM_UPDATE = 0x102a;
0394. MCM_GETCOLOR = 0x100b;
0395. MCM_GETCURSEL = 0x1001;
0396. MCM_GETFIRSTDAYOFWEEK = 0x1010;
0397. MCM_GETMAXSELCOUNT = 0x1003;
0398. MCM_GETMAXTODAYWIDTH = 0x1015;
0399. MCM_GETMINREQRECT = 0x1009;
0400. MCM_GETMONTHDELTA = 0x1013;
0401. MCM_GETMONTHRANGE = 0x1007;
0402. MCM_GETRANGE = 0x1011;
0403. MCM_GETSELRANGE = 0x1005;
0404. MCM_GETTODAY = 0x100d;
0405. MCM_HITTEST = 0x100e;
0406. MCM_SETCOLOR = 0x100a;
0407. MCM_SETCURSEL = 0x1002;
0408. MCM_SETDAYSTATE = 0x1008;
0409. MCM_SETFIRSTDAYOFWEEK = 0x100f;
0410. MCM_SETMAXSELCOUNT = 0x1004;
0411. MCM_SETMONTHDELTA = 0x1014;
0412. MCM_SETRANGE = 0x1012;
0413. MCM_SETSELRANGE = 0x1006;
0414. MCM_SETTODAY = 0x100c;
0415. PBM_DELTAPOS = 0x0403;
0416. PBM_GETPOS = 0x0408;
0417. PBM_GETRANGE = 0x0407;
0418. PBM_SETBARCOLOR = 0x0409;
0419. PBM_SETPOS = 0x0402;
0420. PBM_SETRANGE = 0x0401;
0421. PBM_SETRANGE32 = 0x0406;
0422. PBM_SETSTEP = 0x0404;
0423. PBM_STEPIT = 0x0405;
0424. PGM_FORWARDMOUSE = 0x1403;
0425. PGM_GETBKCOLOR = 0x1405;
0426. PGM_GETBORDER = 0x1407;
0427. PGM_GETBUTTONSIZE = 0x140b;
0428. PGM_GETBUTTONSTATE = 0x140c;
0429. PGM_GETPOS = 0x1409;
0430. PGM_RECALCSIZE = 0x1402;
0431. PGM_SETBKCOLOR = 0x1404;
0432. PGM_SETBORDER = 0x1406;
0433. PGM_SETBUTTONSIZE = 0x140a;
0434. PGM_SETCHILD = 0x1401;
0435. PGM_SETPOS = 0x1408;
0436. RB_BEGINDRAG = 0x0418;
0437. RB_DELETEBAND = 0x0402;
0438. RB_DRAGMOVE = 0x041a;
0439. RB_ENDDRAG = 0x0419;
0440. RB_GETBANDBORDERS = 0x0422;
0441. RB_GETBANDCOUNT = 0x040c;
0442. RB_GETBANDINFOA = 0x041d;
0443. RB_GETBANDINFOW = 0x041c;
0444. RB_GETBANDMARGINS = 0x0428;
0445. RB_GETBARHEIGHT = 0x041b;
0446. RB_GETBARINFO = 0x0403;
0447. RB_GETBKCOLOR = 0x0414;
0448. RB_GETPALETTE = 0x0426;
0449. RB_GETRECT = 0x0409;
0450. RB_GETROWCOUNT = 0x040d;
0451. RB_GETROWHEIGHT = 0x040e;
0452. RB_GETTEXTCOLOR = 0x0416;
0453. RB_GETTOOLTIPS = 0x0411;
0454. RB_HITTEST = 0x0408;
0455. RB_IDTOINDEX = 0x0410;
0456. RB_INSERTBANDA = 0x0401;
0457. RB_INSERTBANDW = 0x040a;
0458. RB_MAXIMIZEBAND = 0x041f;
0459. RB_MINIMIZEBAND = 0x041e;
0460. RB_MOVEBAND = 0x0427;
0461. RB_PUSHCHEVRON = 0x042b;
0462. RB_SETBANDINFOA = 0x0406;
0463. RB_SETBANDINFOW = 0x040b;
0464. RB_SETBARINFO = 0x0404;
0465. RB_SETBKCOLOR = 0x0413;
0466. RB_SETPALETTE = 0x0425;
0467. RB_SETPARENT = 0x0407;
0468. RB_SETTEXTCOLOR = 0x0415;
0469. RB_SETTOOLTIPS = 0x0412;
0470. RB_SHOWBAND = 0x0423;
0471. RB_SIZETORECT = 0x0417;
0472. SB_GETBORDERS = 0x0407;
0473. SB_GETICON = 0x0414;
0474. SB_GETPARTS = 0x0406;
0475. SB_GETRECT = 0x040a;
0476. SB_GETTEXTA = 0x0402;
0477. SB_GETTEXTW = 0x040d;
0478. SB_GETTEXTLENGTHA = 0x0403;
0479. SB_GETTEXTLENGTHW = 0x040c;
0480. SB_GETTIPTEXTA = 0x0412;
0481. SB_GETTIPTEXTW = 0x0413;
0482. SB_ISSIMPLE = 0x040e;
0483. SB_SETICON = 0x040f;
0484. SB_SETMINHEIGHT = 0x0408;
0485. SB_SETPARTS = 0x0404;
0486. SB_SETTEXTA = 0x0401;
0487. SB_SETTEXTW = 0x040b;
0488. SB_SETTIPTEXTA = 0x0410;
0489. SB_SETTIPTEXTW = 0x0411;
0490. SB_SIMPLE = 0x0409;
0491. SBM_ENABLE_ARROWS = 0x00e4;
0492. SBM_GETPOS = 0x00e1;
0493. SBM_GETRANGE = 0x00e3;
0494. SBM_GETSCROLLBARINFO = 0x00eb;
0495. SBM_GETSCROLLINFO = 0x00ea;
0496. SBM_SETPOS = 0x00e0;
0497. SBM_SETRANGE = 0x00e2;
0498. SBM_SETRANGEREDRAW = 0x00e6;
0499. SBM_SETSCROLLINFO = 0x00e9;
0500. STM_GETICON = 0x0171;
==============
34个私有消息:
==============
WM_CONVERTREQUESTEX
CTL3D_CTLCOLORBTN
CTL3D_CTLCOLORDLG
CTL3D_CTLCOLOREDIT
CTL3D_CTLCOLORLISTBOX
CTL3D_CTLCOLORMSGBOX
CTL3D_CTLCOLORSCROLLBAR
CTL3D_CTLCOLORSTATIC
WM_CTLINIT
WM_ACTIVATETOPLEVEL
WM_COMMANDHELP
WM_DISABLEMODAL
WM_DLGBORDER
WM_DLGSUBCLASS
WM_EXITHELPMODE
WM_FLOATSTATUS
WM_HELPHITTEST
WM_IDLEUPDATECMDUI
WM_INITIALUPDATE
WM_KICKIDLE
WM_PENCTL
WM_PENEVENT
WM_PENMISC
WM_PENMISCINFO
WM_POPMESSAGESTRING
WM_QUERYAFXWNDPROC
WM_QUERYCENTERWND
WM_QUEUE_SENTINEL
WM_RECALCPARENT
WM_SETMESSAGESTRING
WM_SIZECHILD
WM_SIZEPARENT
WM_SOCKETNOTIFY
WM_SOCKET_DEAD
==============
阅读(3337) | 评论(0) | 转发(0) |