2 * Openwide -- control Windows common dialog
4 * Copyright (c) 2000 Luke Hudson
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #ifndef C__Data_Code_C_openwide_openwidedll_proto_h_H
29 #define C__Data_Code_C_openwide_openwidedll_proto_h_H
34 #define DLLEXPORT __declspec(dllexport)
36 // Different view and focus options for the Open/Save dialogs
37 enum ViewMode
{V_LGICONS
, V_SMICONS
, V_LIST
, V_DETAILS
, V_THUMBS
, V_TILES
, V_MAX
};
39 enum FocusMode
{F_DIRLIST
, F_FNAME
, F_FTYPE
, F_PLACES
, F_LOOKIN
, F_MAX
};
49 CID_DIRLISTPARENT
= 0x461,
54 CMD_2K_LGICONS
= 28713,
55 CMD_2K_SMICONS
= 28714,
57 CMD_2K_DETAILS
= 28716,
58 CMD_2K_THUMBS
= 28721,
63 CMD_XP_DETAILS
= CMD_2K_DETAILS
,//30978,
64 CMD_XP_LIST
= CMD_2K_LIST
,//30979,
65 CMD_XP_LGICONS
= CMD_2K_LGICONS
,//30980,
66 CMD_XP_TILES
= 28718,//30981,
67 CMD_XP_THUMBS
= 28717,//30982,
72 OW_ABOUT_CMDID
= 0x1010,
73 OW_EXPLORE_CMDID
= 0x1020,
74 OW_TBUTTON_CMDID
= 0x1030,
75 OW_ADDFAV_CMDID
= 0x1040,
76 OW_FAVOURITE_CMDID
= 0x1050,
77 OW_SHOWDESK_CMDID
= 0x1060,
80 #define PACKVERSION(major,minor) MAKELONG(minor,major)
82 #define OW_MATCH_STYLE 0x82CC20C4
83 #define OW_MATCH_EXSTYLE 0x00010501
85 #define OW_SHARED_FILE_MAPPING ("openwidedll_shared_memfile")
86 #define OW_MUTEX_NAME ("openwidedll_mem_mutex")
87 #define OW_PROP_NAME ("openwidedll_window_property")
88 #define OW_OVERLAY_CLASS ("openwidedll_overlay_window_class")
90 #define OW_REGKEY_NAME ("Software\\Lingo\\OpenWide")
91 #define OW_REGKEY_EXCLUDES_NAME ("Software\\Lingo\\OpenWide\\Excludes")
93 #define OW_2K_MINWIDTH 565
94 #define OW_2K_MINHEIGHT 349
96 #define OW_XP_MINWIDTH 563
97 #define OW_XP_MINHEIGHT 419
99 #define OW_LISTVIEW_STYLE (LVS_EX_FULLROWSELECT)
102 // functions from file C:\Data\Code\C\openwide\openwidedll.c //
106 DWORD
GetDllVersion(LPCTSTR lpszDllName
);
114 typedef struct OWSharedData
131 } OWSharedData
, *POWSharedData
;
142 #endif // C__Data_Code_C_openwide_openwidedll_proto_h