blob: ee09425aa85dcab4d473443c03319a9f20db59a0 [file] [log] [blame]
Dennis Syrovatsky32ed3322005-12-15 09:37:38 +00001/* Copyright (C) 2005 TightVNC Team. All Rights Reserved.
2 *
3 * This is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This software is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this software; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16 * USA.
17 *
18 * TightVNC distribution homepage on the Web: http://www.tightvnc.com/
19 *
20 */
21
22// -=- FTBrpwseDlg.cxx
23
24#include <vncviewer/FTBrowseDlg.h>
25
26using namespace rfb;
27using namespace rfb::win32;
28
29FTBrowseDlg::FTBrowseDlg(FTDialog *pFTDlg)
30{
31
32}
33
34FTBrowseDlg::~FTBrowseDlg()
35{
36
37}
Dennis Syrovatsky2eee1c72005-12-15 09:43:34 +000038
39BOOL CALLBACK
40FTBrowseDlg::FTBrowseDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
41{
42 FTBrowseDlg *_this = (FTBrowseDlg *) GetWindowLong(hwnd, GWL_USERDATA);
43 switch (uMsg)
44 {
45 case WM_INITDIALOG:
46 {
47 SetWindowLong(hwnd, GWL_USERDATA, lParam);
48 return FALSE;
49 }
50 break;
51 case WM_COMMAND:
52 {
53 switch (LOWORD(wParam))
54 {
55 case IDOK:
56 return FALSE;
57 case IDCANCEL:
58 return FALSE;
59 }
60 }
61 break;
62 case WM_NOTIFY:
63 switch (LOWORD(wParam))
64 {
65 case IDC_FTBROWSETREE:
66 switch (((LPNMHDR) lParam)->code)
67 {
68 case TVN_SELCHANGED:
69 return FALSE;
70 case TVN_ITEMEXPANDING:
71 return FALSE;
72 }
73 break;
74 }
75 break;
76 case WM_CLOSE:
77 case WM_DESTROY:
78 return FALSE;
79 }
80 return 0;
81}