45#define DRAGLIST_SUBCLASSID 0
46#define DRAGLIST_SCROLLPERIOD 200
47#define DRAGLIST_TIMERID 666
50#define DRAGICON_HOTSPOT_X 17
51#define DRAGICON_HOTSPOT_Y 7
52#define DRAGICON_HEIGHT 32
132 if ((
data->dragging) &&
212 TRACE(
"(%p)\n", hwndLB);
230 RECT rcItem, rcListBox, rcDragIcon;
271 data->last_drag_icon_rect = rcDragIcon;
299 TRACE(
"(%p %d x %d %s)\n",
300 hwndLB,
pt.x,
pt.y, bAutoScroll ?
"TRUE" :
"FALSE");
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
BOOL WINAPI GetWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uID, DWORD_PTR *pdwRef)
BOOL WINAPI SetWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uIDSubclass, DWORD_PTR dwRef)
BOOL WINAPI RemoveWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uID)
LRESULT WINAPI DefSubclassProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
DWORD WINAPI GetTickCount(VOID)
static LRESULT CALLBACK DragList_SubclassWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
static DWORD dwLastScrollTime
struct _DRAGLISTDATA DRAGLISTDATA
#define DRAGLIST_SUBCLASSID
#define DRAGICON_HOTSPOT_Y
static LRESULT DragList_Notify(HWND hwndLB, UINT uNotification)
BOOL WINAPI MakeDragList(HWND hwndLB)
#define DRAGICON_HOTSPOT_X
VOID WINAPI DrawInsert(HWND hwndParent, HWND hwndLB, INT nItem)
#define DRAGLIST_SCROLLPERIOD
static void DragList_EndDrag(HWND hwnd, DRAGLISTDATA *data)
INT WINAPI LBItemFromPt(HWND hwndLB, POINT pt, BOOL bAutoScroll)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
unsigned __int3264 UINT_PTR
_In_ SUBCLASSPROC _In_ UINT_PTR uIdSubclass
_In_ SUBCLASSPROC _In_ UINT_PTR _In_ DWORD_PTR dwRefData
static const WCHAR DRAGLISTMSGSTRINGW[]
LRESULT last_dragging_response
HWND WINAPI SetCapture(_In_ HWND hWnd)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
BOOL WINAPI RedrawWindow(_In_opt_ HWND, _In_opt_ LPCRECT, _In_opt_ HRGN, _In_ UINT)
BOOL WINAPI ReleaseCapture(void)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI DrawIcon(_In_ HDC, _In_ int, _In_ int, _In_ HICON)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR)
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI SetFocus(_In_opt_ HWND)
UINT WINAPI RegisterWindowMessageW(_In_ LPCWSTR)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI SetRectEmpty(_Out_ LPRECT)
HWND WINAPI GetParent(_In_ HWND)
int WINAPI GetDlgCtrlID(_In_ HWND)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
#define RDW_INTERNALPAINT
BOOL WINAPI EqualRect(_In_ LPCRECT, _In_ LPCRECT)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free