WinProc loops through several times with changing values of wmsg until wmsg = 1 which initiates %WM_Create. But what is the purpose and function of these other numbers and where do they come from ????.
Code:
' Window Messages %WM_NULL = &H0 %WM_CREATE = &H1 %WM_DESTROY = &H2 %WM_MOVE = &H3 %WM_SIZE = &H5 %WM_ACTIVATE = &H6 ' ' WM_ACTIVATE state values %WA_INACTIVE = 0 %WA_ACTIVE = 1 %WA_CLICKACTIVE = 2 %WM_SETFOCUS = &H7 %WM_KILLFOCUS = &H8 %WM_ENABLE = &HA %WM_SETREDRAW = &HB %WM_SETTEXT = &HC %WM_GETTEXT = &HD %WM_GETTEXTLENGTH = &HE %WM_PAINT = &HF %WM_CLOSE = &H10
Leave a comment: