-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
felfert
committed
Mar 23, 2008
1 parent
1f64fa4
commit 43ac3db
Showing
501 changed files
with
116,816 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
#if !defined(AFX_AUDIOFORMAT_H__D1098020_67C5_491D_AC06_2EE69A7C135D__INCLUDED_) | ||
#define AFX_AUDIOFORMAT_H__D1098020_67C5_491D_AC06_2EE69A7C135D__INCLUDED_ | ||
|
||
#if _MSC_VER > 1000 | ||
#pragma once | ||
#endif // _MSC_VER > 1000 | ||
// AudioFormat.h : header file | ||
// | ||
|
||
|
||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// AudioFormat dialog | ||
|
||
class AudioFormat : public CDialog | ||
{ | ||
// Construction | ||
public: | ||
AudioFormat(CWnd* pParent = NULL); // standard constructor | ||
void UpdateLocalCompressFormatInterface(); | ||
void UpdateDeviceData(UINT deviceID, DWORD curr_sel_rec_format, LPWAVEFORMATEX curr_sel_pwfx); | ||
|
||
BOOL Openlink (CString); | ||
BOOL OpenUsingShellExecute (CString); | ||
LONG GetRegKey (HKEY key, LPCTSTR subkey, LPTSTR retdata); | ||
BOOL OpenUsingRegisteredClass (CString); | ||
|
||
|
||
//CVscapView *myparent; | ||
//void PreModal(CVscapView *myparent); | ||
|
||
// Dialog Data | ||
//{{AFX_DATA(AudioFormat) | ||
enum { IDD = IDD_AUDIODIALOG }; | ||
// NOTE: the ClassWizard will add data members here | ||
//}}AFX_DATA | ||
|
||
|
||
// Overrides | ||
// ClassWizard generated virtual function overrides | ||
//{{AFX_VIRTUAL(AudioFormat) | ||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
//}}AFX_VIRTUAL | ||
|
||
// Implementation | ||
protected: | ||
|
||
// Generated message map functions | ||
//{{AFX_MSG(AudioFormat) | ||
virtual void OnOK(); | ||
virtual BOOL OnInitDialog(); | ||
afx_msg void OnChoose(); | ||
afx_msg void OnSelchangeRecordformat(); | ||
afx_msg void OnInterleave(); | ||
virtual void OnCancel(); | ||
afx_msg void OnVolume(); | ||
afx_msg void OnSelchangeInputdevice(); | ||
afx_msg void OnInterleaveframes(); | ||
afx_msg void OnInterleaveseconds(); | ||
afx_msg void OnSystemrecord(); | ||
afx_msg void OnHelp(); | ||
//}}AFX_MSG | ||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
//{{AFX_INSERT_LOCATION}} | ||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. | ||
|
||
#endif // !defined(AFX_AUDIOFORMAT_H__D1098020_67C5_491D_AC06_2EE69A7C135D__INCLUDED_) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#if !defined(AFX_AUDIOSPEAKERS_H__125948FB_55C2_4D8E_8E21_36B3AE266E28__INCLUDED_) | ||
#define AFX_AUDIOSPEAKERS_H__125948FB_55C2_4D8E_8E21_36B3AE266E28__INCLUDED_ | ||
|
||
#if _MSC_VER > 1000 | ||
#pragma once | ||
#endif // _MSC_VER > 1000 | ||
// AudioSpeakers.h : header file | ||
// | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// AudioSpeakers dialog | ||
|
||
class AudioSpeakers : public CDialog | ||
{ | ||
// Construction | ||
public: | ||
AudioSpeakers(CWnd* pParent = NULL); // standard constructor | ||
void OnUpdateLineConfig(int line_proper); | ||
void OnUpdateVolume(); | ||
|
||
// Dialog Data | ||
//{{AFX_DATA(AudioSpeakers) | ||
enum { IDD = IDD_AUDIOWAVEOUT }; | ||
// NOTE: the ClassWizard will add data members here | ||
//}}AFX_DATA | ||
|
||
|
||
// Overrides | ||
// ClassWizard generated virtual function overrides | ||
//{{AFX_VIRTUAL(AudioSpeakers) | ||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
//}}AFX_VIRTUAL | ||
|
||
// Implementation | ||
protected: | ||
|
||
// Generated message map functions | ||
//{{AFX_MSG(AudioSpeakers) | ||
virtual void OnOK(); | ||
virtual BOOL OnInitDialog(); | ||
afx_msg void OnVolume(); | ||
afx_msg void OnAutoconfig(); | ||
afx_msg void OnSelchangeSounddevice(); | ||
afx_msg void OnManualconfig(); | ||
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); | ||
//}}AFX_MSG | ||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
//{{AFX_INSERT_LOCATION}} | ||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. | ||
|
||
#endif // !defined(AFX_AUDIOSPEAKERS_H__125948FB_55C2_4D8E_8E21_36B3AE266E28__INCLUDED_) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// AutoSearchDialog.cpp : implementation file | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "vscap.h" | ||
#include "AutoSearchDialog.h" | ||
|
||
#ifdef _DEBUG | ||
#define new DEBUG_NEW | ||
#undef THIS_FILE | ||
static char THIS_FILE[] = __FILE__; | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoSearchDialog dialog | ||
|
||
|
||
CAutoSearchDialog::CAutoSearchDialog(CWnd* pParent /*=NULL*/) | ||
: CDialog(CAutoSearchDialog::IDD, pParent) | ||
{ | ||
//{{AFX_DATA_INIT(CAutoSearchDialog) | ||
// NOTE: the ClassWizard will add member initialization here | ||
//}}AFX_DATA_INIT | ||
} | ||
|
||
|
||
void CAutoSearchDialog::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CDialog::DoDataExchange(pDX); | ||
//{{AFX_DATA_MAP(CAutoSearchDialog) | ||
// NOTE: the ClassWizard will add DDX and DDV calls here | ||
//}}AFX_DATA_MAP | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CAutoSearchDialog, CDialog) | ||
//{{AFX_MSG_MAP(CAutoSearchDialog) | ||
ON_BN_CLICKED(IDC_CLOSE, OnCloseDialog) | ||
ON_WM_CLOSE() | ||
//}}AFX_MSG_MAP | ||
END_MESSAGE_MAP() | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoSearchDialog message handlers | ||
|
||
void CAutoSearchDialog::SetVarText(CString textstr) | ||
{ | ||
((CStatic *) GetDlgItem(IDC_TEXT1))->SetWindowText(textstr); | ||
|
||
} | ||
|
||
void CAutoSearchDialog::SetVarTextLine2(CString textstr) | ||
{ | ||
((CStatic *) GetDlgItem(IDC_TEXT2))->SetWindowText(textstr); | ||
|
||
} | ||
|
||
void CAutoSearchDialog::SetButtonEnable(BOOL enable) | ||
{ | ||
((CStatic *) GetDlgItem(IDC_CLOSE))->EnableWindow(enable); | ||
|
||
} | ||
|
||
|
||
void CAutoSearchDialog::OnCloseDialog() | ||
{ | ||
// TODO: Add your control notification handler code here | ||
ShowWindow(SW_HIDE); | ||
|
||
} | ||
|
||
void CAutoSearchDialog::OnClose() | ||
{ | ||
// TODO: Add your message handler code here and/or call default | ||
ShowWindow(SW_HIDE); | ||
|
||
//CDialog::OnClose(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#if !defined(AFX_AUTOSEARCHDIALOG_H__CAEFF236_0E36_49BC_8B1A_0F2D903EDE9D__INCLUDED_) | ||
#define AFX_AUTOSEARCHDIALOG_H__CAEFF236_0E36_49BC_8B1A_0F2D903EDE9D__INCLUDED_ | ||
|
||
#if _MSC_VER > 1000 | ||
#pragma once | ||
#endif // _MSC_VER > 1000 | ||
// AutoSearchDialog.h : header file | ||
// | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutoSearchDialog dialog | ||
|
||
class CAutoSearchDialog : public CDialog | ||
{ | ||
// Construction | ||
public: | ||
CAutoSearchDialog(CWnd* pParent = NULL); // standard constructor | ||
void SetVarText(CString textstr); | ||
void SetVarTextLine2(CString textstr); | ||
void SetButtonEnable(BOOL enable); | ||
|
||
|
||
// Dialog Data | ||
//{{AFX_DATA(CAutoSearchDialog) | ||
enum { IDD = IDD_AUTOSEARCH }; | ||
// NOTE: the ClassWizard will add data members here | ||
//}}AFX_DATA | ||
|
||
|
||
// Overrides | ||
// ClassWizard generated virtual function overrides | ||
//{{AFX_VIRTUAL(CAutoSearchDialog) | ||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
//}}AFX_VIRTUAL | ||
|
||
// Implementation | ||
protected: | ||
|
||
// Generated message map functions | ||
//{{AFX_MSG(CAutoSearchDialog) | ||
afx_msg void OnCloseDialog(); | ||
afx_msg void OnClose(); | ||
//}}AFX_MSG | ||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
//{{AFX_INSERT_LOCATION}} | ||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. | ||
|
||
#endif // !defined(AFX_AUTOSEARCHDIALOG_H__CAEFF236_0E36_49BC_8B1A_0F2D903EDE9D__INCLUDED_) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
// RenderSoft CamStudio | ||
// | ||
// Copyright 2001 RenderSoft Software & Web Publishing | ||
// | ||
// | ||
// AutopanSpeed.cpp : implementation file | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "vscap.h" | ||
#include "AutopanSpeed.h" | ||
|
||
#ifdef _DEBUG | ||
#define new DEBUG_NEW | ||
#undef THIS_FILE | ||
static char THIS_FILE[] = __FILE__; | ||
#endif | ||
|
||
extern int maxpan; | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutopanSpeed dialog | ||
|
||
|
||
CAutopanSpeed::CAutopanSpeed(CWnd* pParent /*=NULL*/) | ||
: CDialog(CAutopanSpeed::IDD, pParent) | ||
{ | ||
//{{AFX_DATA_INIT(CAutopanSpeed) | ||
// NOTE: the ClassWizard will add member initialization here | ||
//}}AFX_DATA_INIT | ||
} | ||
|
||
|
||
void CAutopanSpeed::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CDialog::DoDataExchange(pDX); | ||
//{{AFX_DATA_MAP(CAutopanSpeed) | ||
// NOTE: the ClassWizard will add DDX and DDV calls here | ||
//}}AFX_DATA_MAP | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CAutopanSpeed, CDialog) | ||
//{{AFX_MSG_MAP(CAutopanSpeed) | ||
ON_WM_HSCROLL() | ||
//}}AFX_MSG_MAP | ||
END_MESSAGE_MAP() | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CAutopanSpeed message handlers | ||
|
||
BOOL CAutopanSpeed::OnInitDialog() | ||
{ | ||
CDialog::OnInitDialog(); | ||
|
||
// TODO: Add extra initialization here | ||
CString maxpanspeedstr; | ||
|
||
((CSliderCtrl *) GetDlgItem(IDC_PANSLIDER))->SetRange(1,200,TRUE); | ||
((CSliderCtrl *) GetDlgItem(IDC_PANSLIDER))->SetPos(maxpan); | ||
|
||
maxpanspeedstr.Format("%d",maxpan); | ||
((CStatic *) GetDlgItem(IDC_MAXSPEED))->SetWindowText(maxpanspeedstr); | ||
|
||
|
||
return TRUE; // return TRUE unless you set the focus to a control | ||
// EXCEPTION: OCX Property Pages should return FALSE | ||
} | ||
|
||
void CAutopanSpeed::OnOK() | ||
{ | ||
// TODO: Add extra validation here | ||
int maxpanspeed; | ||
CString maxpanspeedstr; | ||
|
||
((CStatic *) GetDlgItem(IDC_MAXSPEED))->GetWindowText(maxpanspeedstr); | ||
sscanf(LPCTSTR(maxpanspeedstr),"%d",&maxpanspeed); | ||
|
||
maxpan = maxpanspeed; | ||
|
||
CDialog::OnOK(); | ||
} | ||
|
||
void CAutopanSpeed::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) | ||
{ | ||
// TODO: Add your message handler code here and/or call default | ||
int maxpanspeed; | ||
CString maxpanspeedstr; | ||
|
||
maxpanspeed = ((CSliderCtrl *) GetDlgItem(IDC_PANSLIDER))->GetPos(); | ||
maxpanspeedstr.Format("%d",maxpanspeed); | ||
((CStatic *) GetDlgItem(IDC_MAXSPEED))->SetWindowText(maxpanspeedstr); | ||
|
||
|
||
CDialog::OnHScroll(nSBCode, nPos, pScrollBar); | ||
} |
Oops, something went wrong.