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 LINGO_OPENWIDE_H
24 #define LINGO_OPENWIDE_H
28 /* Copied on : Tue Jul 12 19:04:35 2005 */
29 int addTrayIcon(HWND hwnd
);
30 HWND
createListenerWindow(void);
33 void doTrayMenu(HWND hwnd
);
34 int initListener(HWND hwnd
);
35 int initSharedMem(HWND hwnd
);
36 BOOL
isStartupApp(HWND hwnd
);
38 void ow_shutdown(void);
39 void releaseSharedMem(void);
40 void remTrayIcon(HWND hwnd
);
41 int setStartupApp(HWND hwnd
, BOOL bSet
);
42 void showSettingsDlg(HWND hwnd
);
43 int WINAPI
WinMain(HINSTANCE hi
, HINSTANCE hiPrv
, LPSTR fakeCmdLine
, int iShow
);
44 LRESULT WINAPI CALLBACK
wpListener(HWND hwnd
, UINT msg
, WPARAM wp
, LPARAM lp
);
45 BOOL WINAPI CALLBACK
wpPlacement(HWND hwnd
, UINT msg
, WPARAM wp
, LPARAM lp
);
47 /* Copied on : Tue Jul 12 19:05:40 2005 */
48 void fillFocusCB(HWND hwnd
, UINT uID
);
49 void fillViewCB(HWND hwnd
, UINT uID
);
50 int initPrefs(HWND hwnd
);
51 int CALLBACK WINAPI
initPropSheets(HWND hwnd
, UINT msg
, LPARAM lp
);
52 int savePrefsToRegistry(void);
53 void selectCBView(HWND hwnd
, UINT uID
, int iView
);
54 HWND
showDlg(HWND hwParent
);