home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 March / CMCD0304.ISO / Software / Freeware / Programare / nullsoft / nsis20.exe / Include / WinMessages.nsh < prev   
Text File  |  2003-02-14  |  5KB  |  192 lines

  1. ; List of common Windows Messages
  2. ; By KiCHiK
  3.  
  4. ; Include in your script using:
  5. ; !include "WinMessages.nsh"
  6.  
  7. !ifndef WINMESSAGES_INCLUDED
  8.  
  9. !define WINMESSAGES_INCLUDED
  10.  
  11. !define HWND_BROADCAST 0xFFFF
  12.  
  13. !define WM_NULL 0x0
  14. !define WM_CREATE 0x1
  15. !define WM_DESTROY 0x2
  16. !define WM_MOVE 0x3
  17. !define WM_SIZE 0x5
  18. !define WM_SETFOCUS 0x7
  19. !define WM_KILLFOCUS 0x8
  20. !define WM_ENABLE 0xA
  21. !define WM_SETREDRAW 0xB
  22. !define WM_SETTEXT 0xC
  23. !define WM_GETTEXT 0xD
  24. !define WM_GETTEXTLENGTH 0xE
  25. !define WM_PAINT 0xF
  26. !define WM_CLOSE 0x10
  27. !define WM_QUERYENDSESSION 0x11
  28. !define WM_QUIT 0x12
  29. !define WM_QUERYOPEN 0x13
  30. !define WM_ERASEBKGND 0x14
  31. !define WM_SYSCOLORCHANGE 0x15
  32. !define WM_ENDSESSION 0x16
  33. !define WM_SHOWWINDOW 0x18
  34. !define WM_WININICHANGE 0x1A
  35. !define WM_DEVMODECHANGE 0x1B
  36. !define WM_ACTIVATEAPP 0x1C
  37. !define WM_FONTCHANGE 0x1D
  38. !define WM_TIMECHANGE 0x1E
  39. !define WM_CANCELMODE 0x1F
  40. !define WM_SETCURSOR 0x20
  41. !define WM_MOUSEACTIVATE 0x21
  42. !define WM_CHILDACTIVATE 0x22
  43. !define WM_QUEUESYNC 0x23
  44. !define WM_GETMINMAXINFO 0x24
  45. !define WM_PAINTICON 0x26
  46. !define WM_ICONERASEBKGND 0x27
  47. !define WM_NEXTDLGCTL 0x28
  48. !define WM_SPOOLERSTATUS 0x2A
  49. !define WM_DRAWITEM 0x2B
  50. !define WM_MEASUREITEM 0x2C
  51. !define WM_DELETEITEM 0x2D
  52. !define WM_VKEYTOITEM 0x2E
  53. !define WM_CHARTOITEM 0x2F
  54. !define WM_SETFONT 0x30
  55. !define WM_GETFONT 0x31
  56. !define WM_SETHOTKEY 0x32
  57. !define WM_GETHOTKEY 0x33
  58. !define WM_QUERYDRAGICON 0x37
  59. !define WM_COMPAREITEM 0x39
  60. !define WM_COMPACTING 0x41
  61. !define WM_WINDOWPOSCHANGING 0x46
  62. !define WM_WINDOWPOSCHANGED 0x47
  63. !define WM_POWER 0x48
  64. !define WM_COPYDATA 0x4A
  65. !define WM_CANCELJOURNAL 0x4B
  66. !define WM_NCCREATE 0x81
  67. !define WM_NCDESTROY 0x82
  68. !define WM_NCCALCSIZE 0x83
  69. !define WM_NCHITTEST 0x84
  70. !define WM_NCPAINT 0x85
  71. !define WM_NCACTIVATE 0x86
  72. !define WM_GETDLGCODE 0x87
  73. !define WM_NCMOUSEMOVE 0xA0
  74. !define WM_NCLBUTTONDOWN 0xA1
  75. !define WM_NCLBUTTONUP 0xA2
  76. !define WM_NCLBUTTONDBLCLK 0xA3
  77. !define WM_NCRBUTTONDOWN 0xA4
  78. !define WM_NCRBUTTONUP 0xA5
  79. !define WM_NCRBUTTONDBLCLK 0xA6
  80. !define WM_NCMBUTTONDOWN 0xA7
  81. !define WM_NCMBUTTONUP 0xA8
  82. !define WM_NCMBUTTONDBLCLK 0xA9
  83. !define WM_KEYFIRST 0x100
  84. !define WM_KEYDOWN 0x100
  85. !define WM_KEYUP 0x101
  86. !define WM_CHAR 0x102
  87. !define WM_DEADCHAR 0x103
  88. !define WM_SYSKEYDOWN 0x104
  89. !define WM_SYSKEYUP 0x105
  90. !define WM_SYSCHAR 0x106
  91. !define WM_SYSDEADCHAR 0x107
  92. !define WM_KEYLAST 0x108
  93. !define WM_INITDIALOG 0x110
  94. !define WM_COMMAND 0x111
  95. !define WM_SYSCOMMAND 0x112
  96. !define WM_TIMER 0x113
  97. !define WM_HSCROLL 0x114
  98. !define WM_VSCROLL 0x115
  99. !define WM_INITMENU 0x116
  100. !define WM_INITMENUPOPUP 0x117
  101. !define WM_MENUSELECT 0x11F
  102. !define WM_MENUCHAR 0x120
  103. !define WM_ENTERIDLE 0x121
  104. !define WM_CTLCOLORMSGBOX 0x132
  105. !define WM_CTLCOLOREDIT 0x133
  106. !define WM_CTLCOLORLISTBOX 0x134
  107. !define WM_CTLCOLORBTN 0x135
  108. !define WM_CTLCOLORDLG 0x136
  109. !define WM_CTLCOLORSCROLLBAR 0x137
  110. !define WM_CTLCOLORSTATIC 0x138
  111. !define WM_MOUSEFIRST 0x200
  112. !define WM_MOUSEMOVE 0x200
  113. !define WM_LBUTTONDOWN 0x201
  114. !define WM_LBUTTONUP 0x202
  115. !define WM_LBUTTONDBLCLK 0x203
  116. !define WM_RBUTTONDOWN 0x204
  117. !define WM_RBUTTONUP 0x205
  118. !define WM_RBUTTONDBLCLK 0x206
  119. !define WM_MBUTTONDOWN 0x207
  120. !define WM_MBUTTONUP 0x208
  121. !define WM_MBUTTONDBLCLK 0x209
  122. !define WM_MOUSELAST 0x209
  123. !define WM_PARENTNOTIFY 0x210
  124. !define WM_ENTERMENULOOP 0x211
  125. !define WM_EXITMENULOOP 0x212
  126. !define WM_MDICREATE 0x220
  127. !define WM_MDIDESTROY 0x221
  128. !define WM_MDIACTIVATE 0x222
  129. !define WM_MDIRESTORE 0x223
  130. !define WM_MDINEXT 0x224
  131. !define WM_MDIMAXIMIZE 0x225
  132. !define WM_MDITILE 0x226
  133. !define WM_MDICASCADE 0x227
  134. !define WM_MDIICONARRANGE 0x228
  135. !define WM_MDIGETACTIVE 0x229
  136. !define WM_MDISETMENU 0x230
  137. !define WM_DROPFILES 0x233
  138. !define WM_MDIREFRESHMENU 0x234
  139. !define WM_CUT 0x300
  140. !define WM_COPY 0x301
  141. !define WM_PASTE 0x302
  142. !define WM_CLEAR 0x303
  143. !define WM_UNDO 0x304
  144. !define WM_RENDERFORMAT 0x305
  145. !define WM_RENDERALLFORMATS 0x306
  146. !define WM_DESTROYCLIPBOARD 0x307
  147. !define WM_DRAWCLIPBOARD 0x308
  148. !define WM_PAINTCLIPBOARD 0x309
  149. !define WM_VSCROLLCLIPBOARD 0x30A
  150. !define WM_SIZECLIPBOARD 0x30B
  151. !define WM_ASKCBFORMATNAME 0x30C
  152. !define WM_CHANGECBCHAIN 0x30D
  153. !define WM_HSCROLLCLIPBOARD 0x30E
  154. !define WM_QUERYNEWPALETTE 0x30F
  155. !define WM_PALETTEISCHANGING 0x310
  156. !define WM_PALETTECHANGED 0x311
  157. !define WM_HOTKEY 0x312
  158. !define WM_PENWINFIRST 0x380
  159. !define WM_PENWINLAST 0x38F
  160. !define WM_USER 0x400
  161. !define WM_DDE_FIRST 0x3E0
  162. !define WM_CONVERTREQUESTEX 0x108
  163. !define WM_IME_STARTCOMPOSITION 0x10D
  164. !define WM_IME_ENDCOMPOSITION 0x10E
  165. !define WM_IME_COMPOSITION 0x10F
  166. !define WM_IME_KEYLAST 0x10F
  167. !define WM_IME_SETCONTEXT 0x281
  168. !define WM_IME_NOTIFY 0x282
  169. !define WM_IME_CONTROL 0x283
  170. !define WM_IME_COMPOSITIONFULL 0x284
  171. !define WM_IME_SELECT 0x285
  172. !define WM_IME_CHAR 0x286
  173. !define WM_IME_KEYDOWN 0x290
  174. !define WM_IME_KEYUP 0x291
  175.  
  176. !define SW_HIDE 0
  177. !define SW_SHOWNORMAL 1
  178. !define SW_NORMAL 1
  179. !define SW_SHOWMINIMIZED 2
  180. !define SW_SHOWMAXIMIZED 3
  181. !define SW_MAXIMIZE 3
  182. !define SW_SHOWNOACTIVATE 4
  183. !define SW_SHOW 5
  184. !define SW_MINIMIZE 6
  185. !define SW_SHOWMINNOACTIVE 7
  186. !define SW_SHOWNA 8
  187. !define SW_RESTORE 9
  188. !define SW_SHOWDEFAULT 10
  189. !define SW_FORCEMINIMIZE 11
  190. !define SW_MAX 11
  191.  
  192. !endif