|
|
1.1 root 1: /*
2: * LISTS.H
3: *
4: * Header file for multi-column listbox module.
5: */
6:
7: typedef struct {
1.1.1.2 ! root 8: LPTSTR lpszHeadings;
1.1 root 9: } MCLBCREATESTRUCT;
10:
11:
12: typedef struct {
13: HWND hwndLB;
1.1.1.2 ! root 14: LPTSTR pszHeadings;
1.1 root 15: INT cCols;
16: INT SortCol;
17: } MCLBSTRUCT;
18:
19: #define MYLBSTYLE WS_CHILD|WS_BORDER |LBS_SORT| \
20: WS_VSCROLL|LBS_OWNERDRAWFIXED|LBS_NOINTEGRALHEIGHT
21:
22: HWND CreateMCLBFrame(
23: HWND hwndParent,
1.1.1.2 ! root 24: LPTSTR lpszTitle, /* frame title string */
1.1 root 25: UINT dwStyle, /* frame styles */
26: HICON hIcon, /* icon */
27: HBRUSH hbrBkgnd, /* background for heading.*/
1.1.1.2 ! root 28: LPTSTR lpszHeadings); /* tab delimited list of headings. */
1.1 root 29: /* The number of headings indicate */
30: /* the number of collumns. */
31:
1.1.1.2 ! root 32: VOID AddMCLBText(LPTSTR pszSearch, LPTSTR pszReplace, HWND hwndLBFrame);
! 33: INT GetMCLBColValue(LPTSTR pszSearch, HWND hwndLBFrame, int cCol);
! 34: BOOL DeleteMCLBText(LPTSTR pszSearch, HWND hwndLBFrame);
1.1 root 35:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.