Small cleanups, updated documentation.

This commit is contained in:
Dimitrie O. Paun 2002-09-24 18:26:42 +00:00 committed by Alexandre Julliard
parent 8f1f4c2d5f
commit 326021bd98
3 changed files with 15 additions and 9 deletions

View file

@ -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);
}

View file

@ -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>

View file

@ -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 */