Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPC Camera Capture Pin
Sameer Maggon30-Apr-02 21:41
Sameer Maggon30-Apr-02 21:41 
GeneralRe: PC Camera Capture Pin
Derek Lakin30-Apr-02 22:27
Derek Lakin30-Apr-02 22:27 
GeneralRe: PC Camera Capture Pin
Sameer Maggon2-May-02 18:24
Sameer Maggon2-May-02 18:24 
GeneralRe: PC Camera Capture Pin
Derek Lakin2-May-02 19:54
Derek Lakin2-May-02 19:54 
GeneralNeed Help with Dialogs Pin
Brind_Foin30-Apr-02 21:03
Brind_Foin30-Apr-02 21:03 
GeneralRe: Need Help with Dialogs Pin
Tom Archer30-Apr-02 22:33
Tom Archer30-Apr-02 22:33 
GeneralRe: Need Help with Dialogs Pin
Brind_Foin1-May-02 3:13
Brind_Foin1-May-02 3:13 
GeneralRe: Need Help with Dialogs Pin
Tom Archer1-May-02 3:23
Tom Archer1-May-02 3:23 
When you instantiate a CDialog, you don't have a window yet. You won't until you specifically tell the class to create its underlying window. In the case of a modal dialog this is done via DoModal. In the case of a modeless dialog, this is done via Create or CreateIndirect. In you situation, you're referring to controls on a dialog that haven't been created because their containing window (the dialog) hasn't been created. Therefore, you'll need to move that code using one of the techniques I described.

Cheers,
Tom Archer
Author, Inside C#

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
GeneralCFtpConnection::SetCurrentDirectory() Pin
Tony Fontenot30-Apr-02 20:16
Tony Fontenot30-Apr-02 20:16 
GeneralRe: CFtpConnection::SetCurrentDirectory() Pin
Tom Archer30-Apr-02 21:02
Tom Archer30-Apr-02 21:02 
GeneralRe: CFtpConnection::SetCurrentDirectory() Pin
Joao Vaz30-Apr-02 21:24
Joao Vaz30-Apr-02 21:24 
GeneralRe: CFtpConnection::SetCurrentDirectory() Pin
Tony Fontenot1-May-02 10:20
Tony Fontenot1-May-02 10:20 
QuestionHow can i use explorer's functions in my program? Pin
xsword30-Apr-02 20:07
xsword30-Apr-02 20:07 
AnswerRe: How can i use explorer's functions in my program? Pin
loket30-Apr-02 23:37
loket30-Apr-02 23:37 
GeneralCFormView question ... Pin
Hadi Rezaee30-Apr-02 19:13
Hadi Rezaee30-Apr-02 19:13 
GeneralRe: CFormView question ... Pin
Swinefeaster30-Apr-02 20:02
Swinefeaster30-Apr-02 20:02 
GeneralRe: CFormView question ... Pin
Hadi Rezaee30-Apr-02 20:05
Hadi Rezaee30-Apr-02 20:05 
GeneralRe: CFormView question ... Pin
Tom Archer30-Apr-02 21:05
Tom Archer30-Apr-02 21:05 
GeneralRe: CFormView question ... Pin
Hadi Rezaee30-Apr-02 21:16
Hadi Rezaee30-Apr-02 21:16 
GeneralRe: CFormView question ... Pin
Tom Archer30-Apr-02 22:26
Tom Archer30-Apr-02 22:26 
GeneralPutting an OLE or ActiveX in CView ... Pin
Hadi Rezaee30-Apr-02 19:02
Hadi Rezaee30-Apr-02 19:02 
GeneralRe: Putting an OLE or ActiveX in CView ... Pin
Mazdak1-May-02 0:32
Mazdak1-May-02 0:32 
Generaltoolbar buttons style Pin
Gabriel.P.G30-Apr-02 18:23
Gabriel.P.G30-Apr-02 18:23 
GeneralRe: toolbar buttons style Pin
Matt Philmon1-May-02 1:56
Matt Philmon1-May-02 1:56 
QuestionRecording Metafiles in Gdi+ into a Memory Buffer---possible? Pin
Swinefeaster30-Apr-02 17:17
Swinefeaster30-Apr-02 17:17 

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.