-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyperl.h
53 lines (40 loc) · 630 Bytes
/
hyperl.h
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
#ifndef __HYPERL_H__
#define __HYPERL_H__
/*
*
*
*/
class THyperLink
{
public:
THyperLink( ) {}
void Init( HWND hWnd );
void SetCursor() { ::SetCursor(m_hLinkCursor); }
enum State
{
ST_NOT_VISITED,
ST_VISITED,
ST_HIGHLIGHTED
};
WNDPROC wpOrigHyperLinkProc;
HCURSOR m_hLinkCursor;
State m_State;
State m_OldState;
void MouseMove(HWND hwnd, int x, int y );
void HighLight(HWND hwnd, BOOL state);
void Execute(HWND hwnd);
int CtlColor(HDC hDC);
};
/*
*
*
*/
class TEditBox
{
public:
TEditBox();
void Init( HWND hWnd, char* s );
WNDPROC m_wpOrigEditBoxProc;
char* m_szEditStr;
};
#endif