Ignore:
Timestamp:
Apr 16, 2000, 8:26:59 PM (25 years ago)
Author:
cbratschi
Message:

new listview messages and styles, new resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/CCBase.h

    r3369 r3409  
    1 /* $Id: CCBase.h,v 1.8 2000-04-12 16:38:58 cbratschi Exp $ */
     1/* $Id: CCBase.h,v 1.9 2000-04-16 18:26:56 cbratschi Exp $ */
    22/*
    33 * COMCTL32 Base Functions and Macros for all Controls
     
    4646VOID drawStubControl(HWND hwnd,HDC hdc);
    4747
     48#define lstrlenAW(text,unicode) (unicode ? lstrlenW((WCHAR*)text):lstrlenA((CHAR*)text))
     49
     50#define lstrcpyAW(textA,unicodeA,textB,unicodeB) (unicodeA ? (unicodeB ? lstrcpyW((WCHAR*)textA,(WCHAR*)textB):lstrcpyAtoW((WCHAR*)textA,(CHAR*)textB)):(unicodeB ? lstrcpyWtoA((CHAR*)textA,(WCHAR*)textB):lstrcpyA((CHAR*)textA,(CHAR*)textB)))
     51
    4852INT lstrcmpAtoW(CHAR *textA,WCHAR *textW);
    4953INT lstrcmpAW(WCHAR *textA,BOOL textaunicode,WCHAR *textB,BOOL textbunicode);
     54
     55//read note in CCBase.cpp!
     56INT lstrcmpniA(CHAR *textA,CHAR *textB,INT len);
     57INT lstrcmpniAtoW(CHAR *textA,WCHAR* textB,INT len);
     58INT lstrcmpniW(WCHAR *textA,WCHAR *textB,INT len);
     59INT lstrcmpniAW(WCHAR *textA,BOOL unicodeA,WCHAR *textB,BOOL unicodeB,INT len);
    5060
    5161CHAR*  lstrstrA(CHAR *text,CHAR *subtext);
     
    5565WCHAR* lstrstrAW(WCHAR *text,BOOL textunicode,WCHAR *subtext,BOOL subtextunicode);
    5666
     67#define TICKDIFF(start,end) ((end > start) ? (end-start):(0xFFFFFFFF-start+end))
     68
    5769#endif
Note: See TracChangeset for help on using the changeset viewer.