From 326021bd9867fff5f12c59972b6fda18d0b1aa8d Mon Sep 17 00:00:00 2001
From: "Dimitrie O. Paun" <dpaun@rogers.com>
Date: Tue, 24 Sep 2002 18:26:42 +0000
Subject: [PATCH] Small cleanups, updated documentation.

---
 dlls/comctl32/imagelist.c |  4 ++--
 dlls/comctl32/status.c    | 11 +++++++++--
 include/win.h             |  9 ++++-----
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 484b25bb8a6..eaeaf66b633 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -785,8 +785,6 @@ ImageList_DragLeave (HWND hwndLock)
  *     The position of the drag image is relative to the window, not
  *     the client area.
  *
- * BUGS
- *     The drag image should be drawn semitransparent.
  */
 
 static inline void
@@ -807,6 +805,8 @@ ImageList_InternalDragDraw (HDC hdc, INT x, INT y)
     imldp.fState  = ILS_ALPHA;
     imldp.Frame   = 128;
 
+    /* FIXME: instead of using the alpha blending, we should
+     * create a 50% mask, and draw it semitransparantly that way */
     ImageList_DrawIndirect (&imldp);
 }
 
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index 609ff50ca2c..db0eedeb80f 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -20,8 +20,15 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  * FIXME:
- * 1) Implement all CCS_* styles.
- * 2) Should we hide grip if the parent window is maximized?
+ * 	-- CCS_BOTTOM (default)
+ * 	-- CCS_LEFT
+ * 	-- CCS_NODEVIDER
+ * 	-- CCS_NOMOVEX
+ * 	-- CCS_NOMOVEY
+ * 	-- CCS_NOPARENTALIGN
+ * 	-- CCS_RIGHT
+ * 	-- CCS_TOP
+ * 	-- CCS_VERT (defaults to RIGHT)
  */
 
 #include <string.h>
diff --git a/include/win.h b/include/win.h
index b283e613f16..4cbc86bb37f 100644
--- a/include/win.h
+++ b/include/win.h
@@ -45,10 +45,10 @@ typedef struct tagWND
     HWINDOWPROC    winproc;       /* Window procedure */
     DWORD          dwMagic;       /* Magic number (must be WND_MAGIC) */
     DWORD          tid;           /* Owner thread id */
-    HINSTANCE    hInstance;     /* Window hInstance (from CreateWindow) */
-    RECT         rectClient;    /* Client area rel. to parent client area */
-    RECT         rectWindow;    /* Whole window rel. to parent client area */
-    LPWSTR        text;           /* Window text */
+    HINSTANCE      hInstance;     /* Window hInstance (from CreateWindow) */
+    RECT           rectClient;    /* Client area rel. to parent client area */
+    RECT           rectWindow;    /* Whole window rel. to parent client area */
+    LPWSTR         text;          /* Window text */
     void          *pVScroll;      /* Vertical scroll-bar info */
     void          *pHScroll;      /* Horizontal scroll-bar info */
     struct tagDCE *dce;           /* Window DCE (if CS_OWNDC or CS_CLASSDC) */
@@ -141,7 +141,6 @@ inline static void WIN_ReleasePtr( WND *ptr )
 extern HWND CARET_GetHwnd(void);
 extern void CARET_GetRect(LPRECT lprc);  /* windows/caret.c */
 
-extern BOOL16 DRAG_QueryUpdate( HWND, SEGPTR, BOOL );
 extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType );  /* windows/defwnd.c */
 
 /* Classes functions */
-- 
GitLab