Changeset 137 for Include/api_window.sbp
- Timestamp:
- Mar 7, 2007, 5:36:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_window.sbp
r119 r137 5 5 #define _INC_WINDOW 6 6 7 #ifdef UNICODE 8 Const _FuncName_CreateWindowEx = "CreateWindowExW" 9 Const _FuncName_RegisterClassEx = "RegisterClassExW" 10 #else 11 Const _FuncName_CreateWindowEx = "CreateWindowExA" 12 Const _FuncName_RegisterClassEx = "RegisterClassExA" 13 #endif 7 14 8 15 Const CREATEPROCESS_MANIFEST_RESOURCE_ID = 1 … … 34 41 Const CS_BYTEALIGNWINDOW = &H2000 35 42 Const CS_GLOBALCLASS = &H4000 36 Type WNDCLASSEX 43 Type WNDCLASSEXA 37 44 cbSize As DWord 38 45 style As DWord … … 44 51 hCursor As HCURSOR 45 52 hbrBackground As HBRUSH 46 lpszMenuName As BytePtr47 lpszClassName As BytePtr53 lpszMenuName As LPCSTR 54 lpszClassName As LPCSTR 48 55 hIconSm As HICON 49 56 End Type 50 57 Type WNDCLASSEXW 58 cbSize As DWord 59 style As DWord 60 lpfnWndProc As WNDPROC 61 cbClsExtra As Long 62 cbWndExtra As Long 63 hInstance As HINSTANCE 64 hIcon As HICON 65 hCursor As HCURSOR 66 hbrBackground As HBRUSH 67 lpszMenuName As LPCWSTR 68 lpszClassName As LPCWSTR 69 hIconSm As HICON 70 End Type 71 #ifdef UNICODE 72 TypeDef WNDCLASSEX = WNDCLASSEXW 73 #else 74 TypeDef WNDCLASSEX = WNDCLASSEXA 75 #endif 51 76 52 77 '------------------------ … … 311 336 312 337 Const CW_USEDEFAULT = &H80000000 313 Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (dwExStyle As DWord, lpClassName As PCSTR, lpWindowName As PCSTR, dwStyle As DWord, x As Long, y As Long, nWidth As Long, nHeight As Long, hWndParent As HWND, hMenu As HMENU, hInstance As HINSTANCE, lpParm As VoidPtr) As HWND338 Declare Function CreateWindowEx Lib "user32" Alias _FuncName_CreateWindowEx (dwExStyle As DWord, pClassName As PCTSTR, lpWindowName As PCTSTR, dwStyle As DWord, x As Long, y As Long, nWidth As Long, nHeight As Long, hwndParent As HWND, hmenu As HMENU, hInstance As HINSTANCE, pParm As VoidPtr) As HWND 314 339 315 340 Declare Function DefWindowProc Lib "user32" Alias "DefWindowProcA" (hWnd As HWND, wMsg As DWord, wParam As WPARAM, lParam As LPARAM) As LRESULT … … 862 887 Declare Function RedrawWindow Lib "user32" (hWnd As HWND, ByRef lprcUpdate As RECT, hrgnUpdate As HRGN, flags As DWord) As BOOL 863 888 864 Declare Function RegisterClassEx Lib "user32" Alias "RegisterClassExA"(ByRef wcx As WNDCLASSEX) As ATOM889 Declare Function RegisterClassEx Lib "user32" Alias _FuncName_RegisterClassEx (ByRef wcx As WNDCLASSEX) As ATOM 865 890 Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (lpszFormat As PCSTR) As DWord 866 891 Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (lpString As PCSTR) As DWord
Note:
See TracChangeset
for help on using the changeset viewer.