3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Configure from command line - |
* - Configure from command line - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2004 Peter Ross <pross@xvid.org> |
* Copyright(C) 2002-2010 Peter Ross <pross@xvid.org> |
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: Configure.cpp,v 1.6 2008-11-30 16:36:44 Isibaar Exp $ |
* $Id$ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
30 |
#include "resource.h" |
#include "resource.h" |
31 |
|
|
32 |
|
|
33 |
static HINSTANCE g_xvid_hInst; |
HINSTANCE g_xvid_hInst; |
34 |
|
|
35 |
|
|
36 |
INT_PTR adv_dialog(HWND hwndOwner) |
INT_PTR adv_dialog(HWND hwndOwner) |
44 |
psp[0].pszTemplate = MAKEINTRESOURCE (IDD_ABOUT); |
psp[0].pszTemplate = MAKEINTRESOURCE (IDD_ABOUT); |
45 |
psp[0].pszIcon = NULL; |
psp[0].pszIcon = NULL; |
46 |
psp[0].pfnDlgProc = adv_proc; |
psp[0].pfnDlgProc = adv_proc; |
47 |
psp[0].pszTitle = "About"; |
psp[0].pszTitle = TEXT("About"); |
48 |
psp[0].lParam = 0; |
psp[0].lParam = 0; |
49 |
|
|
50 |
psh.dwSize = sizeof (PROPSHEETHEADER); |
psh.dwSize = sizeof (PROPSHEETHEADER); |
52 |
psh.hwndParent = hwndOwner; |
psh.hwndParent = hwndOwner; |
53 |
psh.hInstance = g_xvid_hInst; |
psh.hInstance = g_xvid_hInst; |
54 |
psh.pszIcon = NULL; |
psh.pszIcon = NULL; |
55 |
psh.pszCaption = (LPSTR)"Xvid Configuration"; |
psh.pszCaption = TEXT("Xvid Configuration"); |
56 |
psh.nPages = sizeof (psp) / sizeof (PROPSHEETPAGE); |
psh.nPages = sizeof (psp) / sizeof (PROPSHEETPAGE); |
57 |
psh.ppsp = psp; |
psh.ppsp = psp; |
58 |
|
|