Click here to Skip to main content
15,930,792 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Lines of code in Visual C++ project? Pin
Aaron Schaefer8-Aug-02 8:39
Aaron Schaefer8-Aug-02 8:39 
GeneralSubmenu :: MFC Pin
valikac8-Aug-02 7:52
valikac8-Aug-02 7:52 
GeneralRe: Submenu :: MFC Pin
User 66588-Aug-02 10:36
User 66588-Aug-02 10:36 
GeneralRe: Submenu :: MFC Pin
valikac8-Aug-02 13:25
valikac8-Aug-02 13:25 
GeneralRe: Submenu :: MFC Pin
Cyclist8-Aug-02 17:31
Cyclist8-Aug-02 17:31 
GeneralRe: Submenu :: MFC Pin
valikac9-Aug-02 5:03
valikac9-Aug-02 5:03 
GeneralDialog Boxes connection w/ CDocument Pin
RalfPeter8-Aug-02 6:22
RalfPeter8-Aug-02 6:22 
GeneralRe: Dialog Boxes connection w/ CDocument Pin
Tomasz Sowinski8-Aug-02 6:56
Tomasz Sowinski8-Aug-02 6:56 
RalfPeter wrote:
Is there a way to direct the DDX to the CMyDocument class?

Yes, you could use DDX_Text without ClassWizard and read/store string directly into document's data member. You could also skip DDX_Text and use [Get|Set]DlgItemText to access edit control directly in CYourDlg.

However, I'd advise against this approach. Treat your dialog as simple device for user interaction. Dialog shouldn't care about document at all. Just invoke a dialog in some CYourDoc method and update m_text when DoModal returns IDOK.

Tomasz Sowinski -- http://www.shooltz.com

What is "scratch" and why can everything be made from it?

GeneralDisabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 5:26
Luis E. Cuadrado8-Aug-02 5:26 
GeneralRe: Disabling existing controls in a dialog Pin
Tomasz Sowinski8-Aug-02 5:36
Tomasz Sowinski8-Aug-02 5:36 
GeneralRe: Disabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 5:46
Luis E. Cuadrado8-Aug-02 5:46 
GeneralRe: Disabling existing controls in a dialog Pin
Tomasz Sowinski8-Aug-02 5:54
Tomasz Sowinski8-Aug-02 5:54 
GeneralRe: Disabling existing controls in a dialog Pin
Renjith Ramachandran8-Aug-02 7:46
Renjith Ramachandran8-Aug-02 7:46 
GeneralRe: Disabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 7:56
Luis E. Cuadrado8-Aug-02 7:56 
GeneralRe: Disabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 9:18
Luis E. Cuadrado8-Aug-02 9:18 
Questionhow do they know if those IDs are correct or not? Pin
includeh108-Aug-02 5:10
includeh108-Aug-02 5:10 
AnswerRe: how do they know if those IDs are correct or not? Pin
Ravi Bhavnani8-Aug-02 5:19
professionalRavi Bhavnani8-Aug-02 5:19 
GeneralRe: how do they know if those IDs are correct or not? Pin
includeh108-Aug-02 5:38
includeh108-Aug-02 5:38 
QuestionASSERT(::IsWindow(m_hWnd)) --when? Pin
JennyP8-Aug-02 5:12
JennyP8-Aug-02 5:12 
AnswerRe: ASSERT(::IsWindow(m_hWnd)) --when? Pin
Ravi Bhavnani8-Aug-02 5:17
professionalRavi Bhavnani8-Aug-02 5:17 
AnswerRe: ASSERT(::IsWindow(m_hWnd)) --when? Pin
Renjith Ramachandran8-Aug-02 8:27
Renjith Ramachandran8-Aug-02 8:27 
GeneralSecond Dialog referring to First Dialog Class Member Pin
Xtorpia8-Aug-02 4:40
Xtorpia8-Aug-02 4:40 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Ravi Bhavnani8-Aug-02 4:52
professionalRavi Bhavnani8-Aug-02 4:52 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Xtorpia9-Aug-02 0:40
Xtorpia9-Aug-02 0:40 
GeneralRe: Second Dialog referring to First Dialog Class Member Pin
Ravi Bhavnani9-Aug-02 5:18
professionalRavi Bhavnani9-Aug-02 5:18 

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.