This repository was archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzsIRC_Wnd_Query.h
More file actions
67 lines (55 loc) · 1.97 KB
/
zsIRC_Wnd_Query.h
File metadata and controls
67 lines (55 loc) · 1.97 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#if !defined(AFX_ZSIRC_WND_QUERY_H__75A889D6_1885_40AA_9F1A_80AF89526D5A__INCLUDED_)
#define AFX_ZSIRC_WND_QUERY_H__75A889D6_1885_40AA_9F1A_80AF89526D5A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// zsIRC_Wnd_Query.h : header file
//
#include "zsIRC_Wnd.h"
#include "zsIRC_Settings.h"
#include "DynArray.h"
/////////////////////////////////////////////////////////////////////////////
// zsIRC_Wnd_Query window
class zsIRC_Wnd_Query : public zsIRC_Wnd
{
// Construction
public:
zsIRC_Wnd_Query(CChannelBar*);
// Attributes
public:
CDynArray aLines;
int nScrollPos;
CPoint ptSelect;
int nSelectLine;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(zsIRC_Wnd_Query)
//}}AFX_VIRTUAL
void SetCaption(TCHAR * szNewCaption);
// Implementation
public:
int BreakString(CString& sString, CRect r, CPaintDC& dc);
//void AddLine(TCHAR * szSender,TCHAR * szMessage,COLORREF cColor = 0);
void AddLine(TCHAR * szMessage,COLORREF cColor = SETUP.cForegroundColor);
virtual ~zsIRC_Wnd_Query();
void MarkLog(TCHAR * szSession);
// Generated message map functions
protected:
//{{AFX_MSG(zsIRC_Wnd_Query)
afx_msg void OnPaint();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnDestroy();
afx_msg void OnActivateApp(BOOL bActive, HTASK hTask);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZSIRC_WND_QUERY_H__75A889D6_1885_40AA_9F1A_80AF89526D5A__INCLUDED_)