Click here to Skip to main content
16,004,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with menu Pin
Matt Philmon1-May-02 1:54
Matt Philmon1-May-02 1:54 
GeneralRe: Problem with menu Pin
Renjith Ramachandran1-May-02 7:36
Renjith Ramachandran1-May-02 7:36 
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 
You're code is not working because the window has not been created yet. Always keep in mind that just because you create an instance of an MFC class such as CDialog (or a derived class), the encapsulated window isn't actually there until you tell the class to create it.

With regards to communicating data between these various dialogs, there several ways to achieve this. If you're simply trying to get initialization data to one dialog from another, you can change the constructor to accept this information. Then in the dialog's constructor, you save this information in member variables and finally use it to init the dialog's controls in either the OnInitDialog or DoDataExchange function.


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.
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 
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 

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.