dragsize.h
资源名称:shell.rar [点击查看]
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:
系统编程
开发平台:
Visual C++
- #define SETWINDOWPOINTER(hwnd, name, p) SetWindowLongPtr(hwnd, 0, (LONG_PTR)p)
- #define GETWINDOWPOINTER(hwnd, name) ((name)GetWindowLongPtr(hwnd, 0))
- #define ALLOCWINDOWPOINTER(name, size) ((name)LocalAlloc(LPTR, size))
- #define FREEWINDOWPOINTER(p) LocalFree((HLOCAL)p)
- #define GETWINDOWID(hwnd) GetWindowLong(hwnd, GWLP_ID)
- #define DRAGSIZECLASSNAME TEXT("DragSizeWindow")
- HWND WINAPI CreateDragSizeWindow(LONG style, int x, int y, int wid, int hgt, HWND hwndParent, LONG wID);
- BOOL FAR PASCAL InitDragSizeClass(void);
- #define DSM_DRAGPOS (WM_USER)
- #define DSN_BEGINDRAG (0)
- #define DSN_DRAGGING (1)
- #define DSN_ENDDRAG (2)
- #define DSN_NCCREATE (3)
English
