diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-18 14:20:47 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-18 14:20:47 +0400 |
commit | 8dc6cea2e87573b465f1810e54ab44d344f17cd0 (patch) | |
tree | dede5111cdb6924906833827743e5e3a32b4912a /winsup/w32api/include/commctrl.h | |
parent | 9cf346e11aa5e7aa85e97cf7ec9a06ed0eceea24 (diff) |
2003-05-18 Manu B <manubee@users.sourceforge.net>
* include/commctrl.h (TVSORTCB): Rename old TV_SORTCB structure.
2003-05-18 Bang Jun-Young <junyoung@netbsd.org>
* include/winbase.h (CREATE_DEFAULT_ERROR_MODE,
DEBUG_PROCESS, DEBUG_ONLY_THIS_PROCESS, CREATE_SUSPENDED,
DETACHED_PROCESS, CREATE_NEW_CONSOLE, NORMAL_PRIORITY_CLASS,
IDLE_PRIORITY_CLASS, HIGH_PRIORITY_CLASS, REALTIME_PRIORITY_CLASS,
CREATE_NEW_PROCESS_GROUP, CREATE_UNICODE_ENVIRONMENT,
CREATE_SEPARATE_WOW_VDM, CREATE_SHARED_WOW_VDM, CREATE_FORCEDOS,
CREATE_NO_WINDOW): Convert to hexadecimal form for better
readability.
(BELOW_NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS,
CREATE_BREAKAWAY_FROM_JOB, CREATE_WITH_USERPROFILE): Add.
Diffstat (limited to 'winsup/w32api/include/commctrl.h')
-rw-r--r-- | winsup/w32api/include/commctrl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 29a2fb54a..7407c5c47 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -2043,11 +2043,14 @@ typedef struct tagTVHITTESTINFO { #define TV_HITTESTINFO TVHITTESTINFO #define LPTV_HITTESTINFO LPTVHITTESTINFO typedef int(CALLBACK *PFNTVCOMPARE)(LPARAM,LPARAM,LPARAM); -typedef struct _TV_SORTCB { +typedef struct tagTVSORTCB { HTREEITEM hParent; PFNTVCOMPARE lpfnCompare; LPARAM lParam; -} TV_SORTCB,*LPTV_SORTCB; +} TVSORTCB,*LPTVSORTCB; +#define _TV_SORTCB tagTVSORTCB +#define TV_SORTCB TVSORTCB +#define LPTV_SORTCB LPTVSORTCB typedef struct tagNMTREEVIEWA { NMHDR hdr; UINT action; @@ -2533,7 +2536,7 @@ BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT); #define TreeView_CreateDragImage(w,i) (HIMAGELIST)SNDMSG((w),TVM_CREATEDRAGIMAGE,0,(LPARAM)(HTREEITEM)(i)) #define TreeView_SortChildren(w,i,r) (BOOL)SNDMSG((w),TVM_SORTCHILDREN,r,(LPARAM)(HTREEITEM)(i)) #define TreeView_EnsureVisible(w,i) (BOOL)SNDMSG((w),TVM_ENSUREVISIBLE,0,(LPARAM)(HTREEITEM)(i)) -#define TreeView_SortChildrenCB(w,s,r) (BOOL)SNDMSG((w),TVM_SORTCHILDRENCB,r,(LPARAM)(LPTV_SORTCB)(s)) +#define TreeView_SortChildrenCB(w,s,r) (BOOL)SNDMSG((w),TVM_SORTCHILDRENCB,r,(LPARAM)(LPTVSORTCB)(s)) #define TreeView_EndEditLabelNow(w,f) (BOOL)SNDMSG((w),TVM_ENDEDITLABELNOW,f,0) #define TreeView_GetISearchString(w,s) (BOOL)SNDMSG((w),TVM_GETISEARCHSTRING,0,(LPARAM)s) #if (_WIN32_IE >= 0x0300) |