diff options
Diffstat (limited to 'private/sdktools/ddespy/lists.h')
-rw-r--r-- | private/sdktools/ddespy/lists.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/private/sdktools/ddespy/lists.h b/private/sdktools/ddespy/lists.h new file mode 100644 index 000000000..66cd31236 --- /dev/null +++ b/private/sdktools/ddespy/lists.h @@ -0,0 +1,35 @@ +/* + * LISTS.H + * + * Header file for multi-column listbox module. + */ + +typedef struct { + LPTSTR lpszHeadings; +} MCLBCREATESTRUCT; + + +typedef struct { + HWND hwndLB; + LPTSTR pszHeadings; + INT cCols; + INT SortCol; +} MCLBSTRUCT; + +#define MYLBSTYLE WS_CHILD|WS_BORDER |LBS_SORT| \ + WS_VSCROLL|LBS_OWNERDRAWFIXED|LBS_NOINTEGRALHEIGHT + +HWND CreateMCLBFrame( + HWND hwndParent, + LPTSTR lpszTitle, /* frame title string */ + UINT dwStyle, /* frame styles */ + HICON hIcon, /* icon */ + HBRUSH hbrBkgnd, /* background for heading.*/ + LPTSTR lpszHeadings); /* tab delimited list of headings. */ + /* The number of headings indicate */ + /* the number of collumns. */ + +VOID AddMCLBText(LPTSTR pszSearch, LPTSTR pszReplace, HWND hwndLBFrame); +INT GetMCLBColValue(LPTSTR pszSearch, HWND hwndLBFrame, int cCol); +BOOL DeleteMCLBText(LPTSTR pszSearch, HWND hwndLBFrame); + |