|
|
1.1 root 1: /*
2: * LISTS.H
3: *
4: * Header file for multi-column listbox module.
5: */
6:
7: typedef struct {
8: LPSTR lpszHeadings;
9: } MCLBCREATESTRUCT;
10:
11:
12: typedef struct {
13: HWND hwndLB;
14: PSTR pszHeadings;
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,
24: LPSTR lpszTitle, /* frame title string */
25: UINT dwStyle, /* frame styles */
26: HICON hIcon, /* icon */
27: HBRUSH hbrBkgnd, /* background for heading.*/
28: LPSTR lpszHeadings); /* tab delimited list of headings. */
29: /* The number of headings indicate */
30: /* the number of collumns. */
31:
32: VOID AddMCLBText(PSTR pszSearch, PSTR pszReplace, HWND hwndLBFrame);
33: INT GetMCLBColValue(PSTR pszSearch, HWND hwndLBFrame, int cCol);
34: BOOL DeleteMCLBText(PSTR pszSearch, HWND hwndLBFrame);
35:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.