diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-12 18:53:57 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-12 18:53:57 -0400 |
| commit | 4b0315131aa3b29b453ba671bd9c7be03190746c (patch) | |
| tree | e2ba2d03241dd163788a4edc3b442963d27f1d9e /comctl_windows.go | |
| parent | 6ee8d96a6e8c1e95b8ca2ab19fcc6a3a856d50c8 (diff) | |
Added indeterminate ProgressBar code on Windows and fixed up a few other things along the way.
Diffstat (limited to 'comctl_windows.go')
| -rw-r--r-- | comctl_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/comctl_windows.go b/comctl_windows.go index ddcad10..1c3014f 100644 --- a/comctl_windows.go +++ b/comctl_windows.go @@ -10,6 +10,8 @@ import ( // pretty much every constant here except _WM_USER is from commctrl.h // TODO for all: filter out constants not available in Windows XP +// TODO ensure that comctl32.dll version 6 or newer is loaded as it provides marquee progress bars + // InitCommonControlsEx constants. const ( _ICC_LISTVIEW_CLASSES = 0x00000001 @@ -67,6 +69,7 @@ const ( const ( _PBS_SMOOTH = 0x01 _PBS_VERTICAL = 0x04 + _PBS_MARQUEE = 0x08 ) // Progress Bar messages. @@ -81,4 +84,5 @@ const ( _PBM_GETPOS = (_WM_USER + 8) _PBM_SETBARCOLOR = (_WM_USER + 9) _PBM_SETBKCOLOR = _CCM_SETBKCOLOR + _PBM_SETMARQUEE = (_WM_USER + 10) ) |
