blob: 14f2cf53d0d55bc146228f57653449841cd22c96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#ifndef _JT_WIN_H
#define _JT_WIN_H
#define _WIN32_IE 0x400
#include <windows.h>
#include <commctrl.h>
#include "resource.h"
#include <stdio.h>
#include <newpluginapi.h>
#include <m_system.h>
#include <m_database.h>
#include <m_options.h>
#include <m_langpack.h>
#include <m_popup.h>
#include <m_skin.h>
#include <m_clist.h>
#include <m_clui.h>
#include <m_message.h>
#include <m_utils.h>
#include <m_protocols.h>
#include <m_updater.h>
#include <m_button.h>
#include <win2k.h>
#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
|