Dec 082017
 
Code to give vb routine access to all windows messages.
File MSGBLAST.ZIP from The Programmer’s Corner in
Category BASIC Language
Code to give vb routine access to all windows messages.
File Name File Size Zip Size Zip Type
ABSTRACT 1187 585 deflated
BLASTCD.BMP 566 231 deflated
BLASTCU.BMP 566 231 deflated
BLASTED.BMP 630 243 deflated
BLASTEU.BMP 630 255 deflated
BLASTMD.BMP 630 243 deflated
BLASTMU.BMP 630 255 deflated
EX1.EXE 6766 2073 deflated
EX1.FRM 2738 1405 deflated
EX1.MAK 137 116 deflated
GLOBAL.BAS 422 156 deflated
LIBENTRY.ASM 2451 927 deflated
LIBENTRY.OBJ 240 226 deflated
MESSAGES.TXT 9922 1853 deflated
MSGBLAST.BAK 17998 5094 deflated
MSGBLAST.BSC 78020 24930 deflated
MSGBLAST.C 18035 5102 deflated
MSGBLAST.DEF 523 224 deflated
MSGBLAST.DLG 1052 489 deflated
MSGBLAST.H 5835 1585 deflated
MSGBLAST.ICO 766 257 deflated
MSGBLAST.MAK 2334 884 deflated
MSGBLAST.PDB 2520 1332 deflated
MSGBLAST.RC 1129 488 deflated
MSGBLAST.SBT 78325 31253 deflated
MSGBLAST.VBX 29272 15127 deflated
MSGBLAST.VCW 90 80 deflated
MSGBLAST.WRI 21632 6959 deflated
MSGBLAST.WSP 770 293 deflated
TPCREAD.ME 199 165 deflated

Download File MSGBLAST.ZIP Here

Contents of the MESSAGES.TXT file



Global Const BM_GETCHECK = (WM_USER+0)
Global Const BM_SETCHECK = (WM_USER+1)
Global Const BM_GETSTATE = (WM_USER+2)
Global Const BM_SETSTATE = (WM_USER+3)
Global Const BM_SETSTYLE = (WM_USER+4)
Global Const CB_GETEDITSEL= (WM_USER+0)
Global Const CB_LIMITTEXT= (WM_USER+1)
Global Const CB_SETEDITSEL= (WM_USER+2)
Global Const CB_ADDSTRING= (WM_USER+3)
Global Const CB_DELETESTRING=(WM_USER+4)
Global Const CB_DIR= (WM_USER+5)
Global Const CB_GETCOUNT=(WM_USER+6)
Global Const CB_GETCURSEL=(WM_USER+7)
Global Const CB_GETLBTEXT=(WM_USER+8)
Global Const CB_GETLBTEXTLEN=(WM_USER+9)
Global Const CB_INSERTSTRING=(WM_USER+10)
Global Const CB_RESETCONTENT=(WM_USER+11)
Global Const CB_FINDSTRING=(WM_USER+12)
Global Const CB_SELECTSTRING=(WM_USER+13)
Global Const CB_SETCURSEL=(WM_USER+14)
Global Const CB_SHOWDROPDOWN=(WM_USER+15)
Global Const CB_GETITEMDATA=(WM_USER+16)
Global Const CB_SETITEMDATA=(WM_USER+17)
Global Const CB_GETDROPPEDCONTROLRECT= (WM_USER+18)
Global Const CB_SETITEMHEIGHT=(WM_USER+19)
Global Const CB_GETITEMHEIGHT=(WM_USER+20)
Global Const CB_SETEXTENDEDUI=(WM_USER+21)
Global Const CB_GETEXTENDEDUI=(WM_USER+22)
Global Const CB_GETDROPPEDSTATE=(WM_USER+23)
Global Const CB_FINDSTRINGEXACT=(WM_USER+24)
Global Const DM_GETDEFID = (WM_USER+0)
Global Const DM_SETDEFID = (WM_USER+1)
Global Const EM_CANUNDO = (WM_USER+22)
Global Const EM_EMPTYUNDOBUFFER = (WM_USER+29)
Global Const EM_FMTLINES = (WM_USER+24)
Global Const EM_GETFIRSTVISIBLELINE = (WM_USER+30)
Global Const EM_GETHANDLE = (WM_USER+13)
Global Const EM_GETLINE = (WM_USER+20)
Global Const EM_GETLINECOUNT = (WM_USER+10)
Global Const EM_GETMODIFY = (WM_USER+8)
Global Const EM_GETPASSWORDCHAR = (WM_USER+34)
Global Const EM_GETRECT = (WM_USER+2)
Global Const EM_GETSEL = (WM_USER+0)
Global Const EM_GETWORDBREAKPROC = (WM_USER+33)
Global Const EM_LIMITTEXT = (WM_USER+21)
Global Const EM_LINEFROMCHAR = (WM_USER+25)
Global Const EM_LINEINDEX = (WM_USER+11)
Global Const EM_LINELENGTH = (WM_USER+17)
Global Const EM_LINESCROLL = (WM_USER+6)
Global Const EM_REPLACESEL = (WM_USER+18)
Global Const EM_SETHANDLE = (WM_USER+12)
Global Const EM_SETMODIFY = (WM_USER+9)
Global Const EM_SETPASSWORDCHAR = (WM_USER+28)
Global Const EM_SETREADONLY = (WM_USER+31)
Global Const EM_SETRECT = (WM_USER+3)
Global Const EM_SETRECTNP = (WM_USER+4)
Global Const EM_SETSEL = (WM_USER+1)
Global Const EM_SETTABSTOPS = (WM_USER+27)
Global Const EM_SETWORDBREAKPROC = (WM_USER+32)
Global Const EM_UNDO = (WM_USER+23)
Global Const LB_ADDSTRING = (WM_USER+1)
Global Const LB_DELETESTRING = (WM_USER+3)
Global Const LB_DIR = (WM_USER+14)
Global Const LB_FINDSTRING = (WM_USER+16)
Global Const LB_FINDSTRINGEXACT = (WM_USER+35)
Global Const LB_GETCARETINDEX = (WM_USER+32)
Global Const LB_GETCOUNT = (WM_USER+12)
Global Const LB_GETCURSEL = (WM_USER+9)
Global Const LB_GETHORIZONTALEXTENT = (WM_USER+20)
Global Const LB_GETITEMDATA = (WM_USER+26)
Global Const LB_GETITEMHEIGHT = (WM_USER+34)
Global Const LB_GETITEMRECT = (WM_USER+25)
Global Const LB_GETSEL = (WM_USER+8)
Global Const LB_GETSELCOUNT = (WM_USER+17)
Global Const LB_GETSELITEMS = (WM_USER+18)
Global Const LB_GETTEXT = (WM_USER+10)
Global Const LB_GETTEXTLEN = (WM_USER+11)
Global Const LB_GETTOPINDEX = (WM_USER+15)
Global Const LB_INSERTSTRING = (WM_USER+2)
Global Const LB_RESETCONTENT = (WM_USER+5)
Global Const LB_SELECTSTRING = (WM_USER+13)
Global Const LB_SELITEMRANGE = (WM_USER+28)
Global Const LB_SETCARETINDEX = (WM_USER+31)
Global Const LB_SETCOLUMNWIDTH = (WM_USER+22)
Global Const LB_SETCURSEL = (WM_USER+7)
Global Const LB_SETHORIZONTALEXTENT = (WM_USER+21)
Global Const LB_SETITEMDATA = (WM_USER+27)
Global Const LB_SETITEMHEIGHT = (WM_USER+33)
Global Const LB_SETSEL = (WM_USER+6)
Global Const LB_SETTABSTOPS = (WM_USER+19)
Global Const LB_SETTOPINDEX = (WM_USER+24)
Global Const STM_GETICON = (WM_USER+1)
Global Const STM_SETICON = (WM_USER+0)
Global Const WM_ACTIVATE = &H0006
Global Const WM_ACTIVATEAPP = &H001C
Global Const WM_ASKCBFORMATNAME = &H030C
Global Const WM_CANCELMODE = &H001F
Global Const WM_CHANGECBCHAIN = &H030D
Global Const WM_CHAR = &H0102
Global Const WM_CHARTOITEM = &H002F
Global Const WM_CHILDACTIVATE = &H0022
Global Const WM_CLEAR = &H0303
Global Const WM_CLOSE = &H0010
Global Const WM_COALESCE_FIRST = &H0390
Global Const WM_COALESCE_LAST = &H039F
Global Const WM_COMMAND = &H0111
Global Const WM_COMMNOTIFY = &H0044
Global Const WM_COMPACTING = &H0041
Global Const WM_COMPAREITEM = &H0039
Global Const WM_COPY = &H0301
Global Const WM_CPL_LAUNCH = (WM_USER+1000)
Global Const WM_CPL_LAUNCHED = (WM_USER+1001)
Global Const WM_CREATE = &H0001
Global Const WM_CTLCOLOR = &H0019
Global Const WM_CUT = &H0300
Global Const WM_DDE_ACK = (WM_DDE_FIRST+4)
Global Const WM_DDE_ADVISE = (WM_DDE_FIRST+2)
Global Const WM_DDE_DATA = (WM_DDE_FIRST+5)
Global Const WM_DDE_EXECUTE = (WM_DDE_FIRST+8)
Global Const WM_DDE_FIRST = &H03E0
Global Const WM_DDE_INITIATE = (WM_DDE_FIRST)
Global Const WM_DDE_LAST = (WM_DDE_FIRST+8)
Global Const WM_DDE_POKE = (WM_DDE_FIRST+7)
Global Const WM_DDE_REQUEST = (WM_DDE_FIRST+6)
Global Const WM_DDE_TERMINATE = (WM_DDE_FIRST+1)
Global Const WM_DDE_UNADVISE = (WM_DDE_FIRST+3)
Global Const WM_DEADCHAR = &H0103
Global Const WM_DELETEITEM = &H002D
Global Const WM_DESTROY = &H0002
Global Const WM_DESTROYCLIPBOARD = &H0307
Global Const WM_DEVMODECHANGE = &H001B
Global Const WM_DRAWCLIPBOARD = &H0308
Global Const WM_DRAWITEM = &H002B
Global Const WM_DROPFILES = &H0233
Global Const WM_ENABLE = &H000A
Global Const WM_ENDSESSION = &H0016
Global Const WM_ENTERIDLE = &H0121
Global Const WM_ERASEBKGND = &H0014
Global Const WM_FONTCHANGE = &H001D
Global Const WM_GETDLGCODE = &H0087
Global Const WM_GETFONT = &H0031
Global Const WM_GETMINMAXINFO = &H0024
Global Const WM_GETTEXT = &H000D
Global Const WM_GETTEXTLENGTH = &H000E
Global Const WM_GLOBALRCCHANGE = (WM_PENWINFIRST+3)
Global Const WM_HEDITCTL = (WM_PENWINFIRST+5)
Global Const WM_HOOKRCRESULT = (WM_PENWINFIRST+2)
Global Const WM_HSCROLL = &H0114
Global Const WM_HSCROLLCLIPBOARD = &H030E
Global Const WM_ICONERASEBKGND = &H0027
Global Const WM_INITDIALOG = &H0110
Global Const WM_INITMENU = &H0116
Global Const WM_INITMENUPOPUP = &H0117
Global Const WM_KEYDOWN = &H0100
Global Const WM_KEYFIRST = &H0100
Global Const WM_KEYLAST = &H0108
Global Const WM_KEYUP = &H0101
Global Const WM_KILLFOCUS = &H0008
Global Const WM_LBUTTONDBLCLK = &H0203
Global Const WM_LBUTTONDOWN = &H0201
Global Const WM_LBUTTONUP = &H0202
Global Const WM_MBUTTONDBLCLK = &H0209
Global Const WM_MBUTTONDOWN = &H0207
Global Const WM_MBUTTONUP = &H0208
Global Const WM_MDIACTIVATE = &H0222
Global Const WM_MDICASCADE = &H0227
Global Const WM_MDICREATE = &H0220
Global Const WM_MDIDESTROY = &H0221
Global Const WM_MDIGETACTIVE = &H0229
Global Const WM_MDIICONARRANGE = &H0228
Global Const WM_MDIMAXIMIZE = &H0225
Global Const WM_MDINEXT = &H0224
Global Const WM_MDIRESTORE = &H0223
Global Const WM_MDISETMENU = &H0230
Global Const WM_MDITILE = &H0226
Global Const WM_MEASUREITEM = &H002C
Global Const WM_MENUCHAR = &H0120
Global Const WM_MENUSELECT = &H011F
Global Const WM_MOUSEACTIVATE = &H0021
Global Const WM_MOUSEFIRST = &H0200
Global Const WM_MOUSELAST = &H0209
Global Const WM_MOUSEMOVE = &H0200
Global Const WM_MOVE = &H0003
Global Const WM_NCACTIVATE = &H0086
Global Const WM_NCCALCSIZE = &H0083
Global Const WM_NCCREATE = &H0081
Global Const WM_NCDESTROY = &H0082
Global Const WM_NCHITTEST = &H0084
Global Const WM_NCLBUTTONDBLCLK = &H00A3
Global Const WM_NCLBUTTONDOWN = &H00A1
Global Const WM_NCLBUTTONUP = &H00A2
Global Const WM_NCMBUTTONDBLCLK = &H00A9
Global Const WM_NCMBUTTONDOWN = &H00A7
Global Const WM_NCMBUTTONUP = &H00A8
Global Const WM_NCMOUSEMOVE = &H00A0
Global Const WM_NCPAINT = &H0085
Global Const WM_NCRBUTTONDBLCLK = &H00A6
Global Const WM_NCRBUTTONDOWN = &H00A4
Global Const WM_NCRBUTTONUP = &H00A5
Global Const WM_NEXTDLGCTL = &H0028
Global Const WM_NULL = &H0000
Global Const WM_PAINT = &H000F
Global Const WM_PAINTCLIPBOARD = &H0309

Global Const WM_PALETTECHANGED = &H0311
Global Const WM_PALETTEISCHANGING = &H0310
Global Const WM_PARENTNOTIFY = &H0210
Global Const WM_PASTE = &H0302
Global Const WM_PENWINFIRST = &H0380
Global Const WM_PENWINLAST = &H038F
Global Const WM_POWER = &H0048
Global Const WM_QUERYDRAGICON = &H0037
Global Const WM_QUERYENDSESSION = &H0011
Global Const WM_QUERYNEWPALETTE = &H030F
Global Const WM_QUERYOPEN = &H0013
Global Const WM_QUEUESYNC = &H0023
Global Const WM_QUIT = &H0012
Global Const WM_RBUTTONDBLCLK = &H0206
Global Const WM_RBUTTONDOWN = &H0204
Global Const WM_RBUTTONUP = &H0205
Global Const WM_RCRESULT = (WM_PENWINFIRST+1)
Global Const WM_RENDERALLFORMATS = &H0306
Global Const WM_RENDERFORMAT = &H0305
Global Const WM_SETCURSOR = &H0020
Global Const WM_SETFOCUS = &H0007
Global Const WM_SETFONT = &H0030
Global Const WM_SETREDRAW = &H000B
Global Const WM_SETTEXT = &H000C
Global Const WM_SHOWWINDOW = &H0018
Global Const WM_SIZE = &H0005
Global Const WM_SIZECLIPBOARD = &H030B
Global Const WM_SKB = (WM_PENWINFIRST+4)
Global Const WM_SPOOLERSTATUS = &H002A
Global Const WM_SYSCHAR = &H0106
Global Const WM_SYSCOLORCHANGE = &H0015
Global Const WM_SYSCOMMAND = &H0112
Global Const WM_SYSDEADCHAR = &H0107
Global Const WM_SYSKEYDOWN = &H0104
Global Const WM_SYSKEYUP = &H0105
Global Const WM_SYSTEMERROR = &H0017
Global Const WM_TIMECHANGE = &H001E
Global Const WM_TIMER = &H0113
Global Const WM_UNDO = &H0304
Global Const WM_USER = &H0400
Global Const WM_VKEYTOITEM = &H002E
Global Const WM_VSCROLL = &H0115
Global Const WM_VSCROLLCLIPBOARD = &H030A
Global Const WM_WINDOWPOSCHANGED = &H0047
Global Const WM_WINDOWPOSCHANGING = &H0046
Global Const WM_WININICHANGE = &H001A


 December 8, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)