Created
November 12, 2016 23:50
-
-
Save toptensoftware/439dc44c6b16b6c4ce16f50f0409227f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Load() | |
{ | |
// Standard messages | |
Add(0x0000, new unused()); // WM_NULL | |
Add(0x0001, new WM_NC_OR_CREATE(false)); // WM_CREATE | |
Add(0x0002, new WM_DESTROY()); // WM_DESTROY | |
Add(0x0003, new copy()); // WM_MOVE | |
Add(0x0005, new copy()); // WM_SIZE | |
Add(0x0006, new WM_ACTIVATE()); // WM_ACTIVATE | |
// etc... | |
// Edit | |
Add(WndClassKind.Edit, Win32.EM_SETSEL, Win16.EM_SETSEL, new cracked_lparam16()); | |
Add(WndClassKind.Edit, Win32.EM_SETLIMITTEXT, Win16.EM_LIMITTEXT, new copy()); | |
// etc... | |
// Listbox | |
Add(WndClassKind.Listbox, Win32.LB_ADDSTRING, Win16.LB_ADDSTRING, new ClassListBox.LB_ADDSTRING()); | |
Add(WndClassKind.Listbox, Win32.LB_INSERTSTRING, Win16.LB_INSERTSTRING, new ClassListBox.LB_ADDSTRING()); | |
// etc... | |
// Combobox | |
// Scrollbar | |
// Button | |
// Dialog | |
// etc... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment