diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
| commit | c1dc235d3b1bda6f4ddff92da1e348399c4a3e70 (patch) | |
| tree | d106a4c0b077184a7bbfa65eccbe920e29dd6bc1 /redo/table_windows.c | |
| parent | 19976849e168cb2faa6cfb73517cd7c762430f6f (diff) | |
Stripped C-style comments from C sources and headers where appropriate.
Diffstat (limited to 'redo/table_windows.c')
| -rw-r--r-- | redo/table_windows.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c index 5846c1c..b25ebab 100644 --- a/redo/table_windows.c +++ b/redo/table_windows.c @@ -1,9 +1,9 @@ -/* 28 july 2014 */ +// 28 july 2014 #include "winapi_windows.h" #include "_cgo_export.h" -/* provided for cgo's benefit */ +// provided for cgo's benefit LPWSTR xWC_LISTVIEW = WC_LISTVIEW; static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data) @@ -19,8 +19,8 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM return 0; } return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); - /* see table.autoresize() in table_windows.go for the column autosize policy */ - case WM_NOTIFY: /* from the contained header control */ + // see table.autoresize() in table_windows.go for the column autosize policy + case WM_NOTIFY: // from the contained header control if (nmhdr->code == HDN_BEGINTRACK) tableStopColumnAutosize((void *) data); return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); @@ -32,7 +32,7 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); } xmissedmsg("Button", "tableSubProc()", uMsg); - return 0; /* unreached */ + return 0; // unreached } void setTableSubclass(HWND hwnd, void *data) @@ -63,7 +63,7 @@ void tableUpdate(HWND hwnd, int nItems) void tableAddExtendedStyles(HWND hwnd, LPARAM styles) { - /* the bits of WPARAM specify which bits of LPARAM to look for; having WPARAM == LPARAM ensures that only the bits we want to add are affected */ + // the bits of WPARAM specify which bits of LPARAM to look for; having WPARAM == LPARAM ensures that only the bits we want to add are affected SendMessageW(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, (WPARAM) styles, styles); } |
