#ifndef _JT_WIN_H #define _JT_WIN_H #define _WIN32_IE 0x400 #include #include #include "resource.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define MODULE "JustTabs" extern HWND pluginwind; extern HINSTANCE hInst; #define WM_PREADDCHILD (WM_USER + 0x1FF) #define WM_ADDCHILD (WM_USER + 0x200) #define WM_REMCHILD (WM_USER + 0x201) #define WM_SHOWCONTACTWND (WM_USER + 0x202) #define WM_HIGHLIGHTCONTACTWND (WM_USER + 0x203) #define WM_RESETTABICONS (WM_USER + 0x204) #define STYLE_TITLE ((DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME) & ~WS_VISIBLE) #define STYLE_NOTITLE ((DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_THICKFRAME) & ~WS_VISIBLE) LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); int CreateFrame(HWND parent, HINSTANCE hInst); void FixWindowStyle(); #endif