Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
David Crow4-Dec-03 6:03
David Crow4-Dec-03 6:03 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Anonymous4-Dec-03 7:07
Anonymous4-Dec-03 7:07 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
David Crow4-Dec-03 7:52
David Crow4-Dec-03 7:52 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Joe Woodbury4-Dec-03 15:15
professionalJoe Woodbury4-Dec-03 15:15 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Anonymous8-Dec-03 22:00
Anonymous8-Dec-03 22:00 
GeneralDDX control access in dialogs Pin
J.B.4-Dec-03 0:29
J.B.4-Dec-03 0:29 
GeneralRe: DDX control access in dialogs Pin
Steve S4-Dec-03 0:34
Steve S4-Dec-03 0:34 
GeneralRe: DDX control access in dialogs Pin
J.B.4-Dec-03 0:56
J.B.4-Dec-03 0:56 
It was a quick reply Steve, thanks alot!

I will try it out now. But just a thought, if it's because the control did not exist before DoModal() is called, wouldn't swapping the DoMadal() and SetWindowText() work?

e.g.

CMyDlg2 MyDlg2;
MyDlg2.DoModal();
MyDlg2.m_TextName.SetWindowText("Testing text");

Interestingly, now the dialog 2 loads after the button click but the text is not set. And the app crashes after close the dialog 2.

Would you mind explaining why it acts like this?
GeneralRe: DDX control access in dialogs Pin
J.B.4-Dec-03 1:16
J.B.4-Dec-03 1:16 
GeneralRe: DDX control access in dialogs Pin
Steve S4-Dec-03 1:25
Steve S4-Dec-03 1:25 
GeneralRe: DDX control access in dialogs Pin
David Crow4-Dec-03 6:05
David Crow4-Dec-03 6:05 
Questionmysql connection? Pin
murali_utr4-Dec-03 0:22
murali_utr4-Dec-03 0:22 
AnswerRe: mysql connection? Pin
Prakash Nadar4-Dec-03 4:42
Prakash Nadar4-Dec-03 4:42 
AnswerRe: mysql connection? Pin
BaldwinMartin4-Dec-03 5:22
BaldwinMartin4-Dec-03 5:22 
GeneralWindows Add/Remove programs dialog Pin
Shah Shehpori3-Dec-03 23:14
sussShah Shehpori3-Dec-03 23:14 
GeneralRe: Windows Add/Remove programs dialog Pin
Mike Dimmick4-Dec-03 2:50
Mike Dimmick4-Dec-03 2:50 
GeneralHelp me please!!! Deconvolution Pin
Angeluna3-Dec-03 23:12
sussAngeluna3-Dec-03 23:12 
Generalhex to decimal Pin
styve3-Dec-03 22:13
styve3-Dec-03 22:13 
GeneralRe: hex to decimal Pin
murali_utr3-Dec-03 22:22
murali_utr3-Dec-03 22:22 
Generalcystal report problem. Pin
murali_utr3-Dec-03 21:36
murali_utr3-Dec-03 21:36 
GeneralRe: cystal report problem. Pin
murali_utr3-Dec-03 23:41
murali_utr3-Dec-03 23:41 
GeneralGetClipBox Pin
R. Thomas3-Dec-03 21:27
R. Thomas3-Dec-03 21:27 
GeneralRe: GetClipBox Pin
Monty24-Dec-03 1:59
Monty24-Dec-03 1:59 
GeneralRe: GetClipBox Pin
KaЯl4-Dec-03 11:34
KaЯl4-Dec-03 11:34 
GeneralRe: GetClipBox Pin
R. Thomas4-Dec-03 15:38
R. Thomas4-Dec-03 15:38 

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.