Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to start yahoo Konfabulator widget from MFC ? Pin
David Crow28-Sep-05 4:24
David Crow28-Sep-05 4:24 
AnswerRe: How to start yahoo Konfabulator widget from MFC ? Pin
Maximilien28-Sep-05 4:43
Maximilien28-Sep-05 4:43 
QuestionNeed help: Printer Lifemeter Pin
eXtwo28-Sep-05 3:21
eXtwo28-Sep-05 3:21 
AnswerRe: Need help: Printer Lifemeter Pin
David Crow28-Sep-05 4:28
David Crow28-Sep-05 4:28 
QuestionHow to delete entry in start menu? Pin
fggfhfhgfg28-Sep-05 2:58
fggfhfhgfg28-Sep-05 2:58 
AnswerRe: How to delete entry in start menu? Pin
David Crow28-Sep-05 3:13
David Crow28-Sep-05 3:13 
GeneralRe: How to delete entry in start menu? Pin
Arno The Avatar28-Sep-05 4:05
sussArno The Avatar28-Sep-05 4:05 
QuestionHelp me with displaying capture image Pin
SimCom28-Sep-05 2:06
SimCom28-Sep-05 2:06 
Hi best programmers,

Please help me with my problem.

I want to display captured streaming avi-data from webcam, but the main problem is to show the video on my dialogbox.

Actually it's very easy to get avi from webcam and I think it worked well so far, but to show in my dialogbox there is a problem.

The code I tried is as follows:

void CCamSampDlg::OnStart() //when I click on Start-button,
{ //the webcam will be activated (I see green
CRect rect; //LED turns on) and it should start showing
GetClientRect(&rect); //the videopicture on the dialogbox

// Here I try to display the imagestream

WebCam.Create(0,rect,&m_Disp,TRUE); //I think in this line something
WebCam.ConnectWithDriver(-1); //wrong.
WebCam.SetPreviewRate(15);
WebCam.StartPreview(TRUE);

}

void CCamSampDlg::OnCancel()
{
WebCam.Disconnect();
OnOK();

CDialog::OnCancel();
}


I've read the MSDN how to do that, but I guess I use the Creat-method wrong.
Please can somebody help me, you'll maken me so happy, really if I was a gay I would give a very big wet french kiss.

Thank you dear friends!!!!

If my application works, I forget all my problems.
AnswerRe: Help me with displaying capture image Pin
Cedric Moonen28-Sep-05 2:26
Cedric Moonen28-Sep-05 2:26 
GeneralRe: Help me with displaying capture image Pin
SimCom28-Sep-05 2:37
SimCom28-Sep-05 2:37 
GeneralRe: Help me with displaying capture image Pin
Cedric Moonen28-Sep-05 2:49
Cedric Moonen28-Sep-05 2:49 
GeneralRe: Help me with displaying capture image Pin
SimCom28-Sep-05 4:35
SimCom28-Sep-05 4:35 
Questionlaunching application from html page Pin
vyjesh28-Sep-05 2:03
vyjesh28-Sep-05 2:03 
AnswerRe: launching application from html page Pin
Mircea Puiu28-Sep-05 2:33
Mircea Puiu28-Sep-05 2:33 
GeneralRe: launching application from html page Pin
mikanu28-Sep-05 5:24
mikanu28-Sep-05 5:24 
GeneralRe: launching application from html page Pin
vyjesh30-Sep-05 3:01
vyjesh30-Sep-05 3:01 
AnswerRe: launching application from html page Pin
mikanu30-Sep-05 6:19
mikanu30-Sep-05 6:19 
QuestionClipboard issue. Pin
Abyss28-Sep-05 1:41
Abyss28-Sep-05 1:41 
AnswerRe: Clipboard issue. Pin
S Douglas28-Sep-05 23:33
professionalS Douglas28-Sep-05 23:33 
Questionwant to use a CDialogBox in MFC Pin
vikas amin28-Sep-05 1:37
vikas amin28-Sep-05 1:37 
AnswerRe: want to use a CDialogBox in MFC Pin
toxcct28-Sep-05 1:49
toxcct28-Sep-05 1:49 
GeneralRe: want to use a CDialogBox in MFC Pin
vikas amin28-Sep-05 3:49
vikas amin28-Sep-05 3:49 
AnswerRe: want to use a CDialogBox in MFC Pin
S Douglas28-Sep-05 23:45
professionalS Douglas28-Sep-05 23:45 
QuestionFinding the current active button... Pin
u6ik28-Sep-05 1:35
u6ik28-Sep-05 1:35 
AnswerRe: Finding the current active button... Pin
fat_boy28-Sep-05 2:01
fat_boy28-Sep-05 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.