File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ module WinSDK [system] [extern_c] {
9696 }
9797 }
9898
99+ module CommCtrl {
100+ header "CommCtrl.h"
101+ export *
102+ }
103+
99104 // FIXME(compnerd) this is a hack for the HWND typedef for DbgHelp
100105 module __DirectX {
101106 header "directmanipulation.h"
Original file line number Diff line number Diff line change @@ -51,3 +51,23 @@ public let WS_POPUPWINDOW: UINT =
5151// fileapi.h
5252public let INVALID_FILE_ATTRIBUTES : DWORD = DWORD ( bitPattern: - 1 )
5353
54+ // CommCtrl.h
55+ public let WC_BUTTONW : [ WCHAR ] = Array < WCHAR > ( " Button " . utf16)
56+ public let WC_COMBOBOXW : [ WCHAR ] = Array < WCHAR > ( " ComboBox " . utf16)
57+ public let WC_EDITW : [ WCHAR ] = Array < WCHAR > ( " Edit " . utf16)
58+ public let WC_HEADERW : [ WCHAR ] = Array < WCHAR > ( " SysHeader32 " . utf16)
59+ public let WC_LISTBOXW : [ WCHAR ] = Array < WCHAR > ( " ListBox " . utf16)
60+ public let WC_LISTVIEWW : [ WCHAR ] = Array < WCHAR > ( " SysListView32 " . utf16)
61+ public let WC_SCROLLBARW : [ WCHAR ] = Array < WCHAR > ( " ScrollBar " . utf16)
62+ public let WC_STATICW : [ WCHAR ] = Array < WCHAR > ( " Static " . utf16)
63+ public let WC_TABCONTROLW : [ WCHAR ] = Array < WCHAR > ( " SysTabControl32 " . utf16)
64+ public let WC_TREEVIEWW : [ WCHAR ] = Array < WCHAR > ( " SysTreeView32 " . utf16)
65+
66+ public let ANIMATE_CLASSW : [ WCHAR ] = Array < WCHAR > ( " SysAnimate32 " . utf16)
67+ public let HOTKEY_CLASSW : [ WCHAR ] = Array < WCHAR > ( " msctls_hotkey32 " . utf16)
68+ public let PROGRESS_CLASSW : [ WCHAR ] = Array < WCHAR > ( " msctls_progress32 " . utf16)
69+ public let STATUSCLASSNAMEW : [ WCHAR ] = Array < WCHAR > ( " msctls_statusbar32 " . utf16)
70+ public let TOOLBARW_CLASSW : [ WCHAR ] = Array < WCHAR > ( " ToolbarWindow32 " . utf16)
71+ public let TRACKBAR_CLASSW : [ WCHAR ] = Array < WCHAR > ( " msctls_trackbar32 " . utf16)
72+ public let UPDOWN_CLASSW : [ WCHAR ] = Array < WCHAR > ( " msctls_updown32 " . utf16)
73+
You can’t perform that action at this time.
0 commit comments