diff options
Diffstat (limited to 'redo/winapi_windows.h')
| -rw-r--r-- | redo/winapi_windows.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h index d620879..dcfd1fe 100644 --- a/redo/winapi_windows.h +++ b/redo/winapi_windows.h @@ -17,11 +17,13 @@ #include <windows.h> #include <commctrl.h> #include <stdint.h> +#include <uxtheme.h> /* global messages unique to everything */ enum { msgRequest = WM_APP + 1, /* + 1 just to be safe */ msgCOMMAND, /* WM_COMMAND proxy; see forwardCommand() in controls_windows.go */ + msgNOTIFY, /* WM_NOTIFY proxy */ }; /* uitask_windows.c */ @@ -42,6 +44,7 @@ extern HWND newWidget(LPCWSTR, DWORD, DWORD); extern void controlSetParent(HWND, HWND); extern void controlSetControlFont(HWND); extern LRESULT forwardCommand(HWND, UINT, WPARAM, LPARAM); +extern LRESULT forwardNotify(HWND, UINT, WPARAM, LPARAM); extern void setButtonSubclass(HWND, void *); extern void setCheckboxSubclass(HWND, void *); extern BOOL checkboxChecked(HWND); @@ -77,4 +80,10 @@ extern void setWindowText(HWND, LPCWSTR); extern void updateWindow(HWND); extern void storelpParam(HWND, LPARAM); +/* containers_windows.go */ +extern LPCWSTR xWC_TABCONTROL; +extern void setTabSubclass(HWND, void *); +extern void tabAppend(HWND, LPCWSTR); +extern void tabGetContentRect(HWND, RECT *); + #endif |
