Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is it possible to create a world inside C++? Pin
Anna-Jayne Metcalfe3-Jun-03 0:47
Anna-Jayne Metcalfe3-Jun-03 0:47 
AnswerRe: Is it possible to create a world inside C++? Pin
Dominik Reichl2-Jun-03 20:44
Dominik Reichl2-Jun-03 20:44 
AnswerRe: Is it possible to create a world inside C++? Pin
Michael Pauli2-Jun-03 23:49
Michael Pauli2-Jun-03 23:49 
GeneralRe: Is it possible to create a world inside C++? Pin
Dominik Reichl3-Jun-03 0:43
Dominik Reichl3-Jun-03 0:43 
AnswerRe: Is it possible to create a world inside C++? Pin
Michael Andrew3-Jun-03 0:53
Michael Andrew3-Jun-03 0:53 
GeneralRe: Is it possible to create a world inside C++? Pin
keeper_sakeris3-Jun-03 6:05
keeper_sakeris3-Jun-03 6:05 
GeneralRe: Is it possible to create a world inside C++? Pin
basementman9-Jun-03 6:36
basementman9-Jun-03 6:36 
GeneralAbout MFC SetFocus() Pin
jcpooh2-Jun-03 16:20
jcpooh2-Jun-03 16:20 
Hi all,

I'm trying to make the child window (in C123 class) pop-up with focus on a Edit text box (m_CName).
Then I write :

//in parent class function
//CString m_SName;
//CEdit m_CName;
C123 abc;
abc.m_SName = "john";
abc.m_CName.SetFocus();
abc.DoModal();

//RESULT
only display the name "john" in the edit box, without set the focus on this field.

What's wrong?

Thx

Joli
Confused | :confused:






GeneralRe: About MFC SetFocus() Pin
valikac2-Jun-03 18:05
valikac2-Jun-03 18:05 
GeneralRe: About MFC SetFocus() Pin
jcpooh2-Jun-03 19:29
jcpooh2-Jun-03 19:29 
GeneralRe: About MFC SetFocus() Pin
valikac2-Jun-03 20:13
valikac2-Jun-03 20:13 
GeneralRe: About MFC SetFocus() Pin
jcpooh2-Jun-03 20:36
jcpooh2-Jun-03 20:36 
GeneralRe: About MFC SetFocus() Pin
Michael Dunn2-Jun-03 20:31
sitebuilderMichael Dunn2-Jun-03 20:31 
GeneralRe: About MFC SetFocus() Pin
Anonymous2-Jun-03 20:38
Anonymous2-Jun-03 20:38 
GeneralRe: About MFC SetFocus() Pin
Anonymous2-Jun-03 20:40
Anonymous2-Jun-03 20:40 
GeneralRe: About MFC SetFocus() Pin
jcpooh2-Jun-03 20:56
jcpooh2-Jun-03 20:56 
GeneralOCX tweak Pin
el davo2-Jun-03 15:08
el davo2-Jun-03 15:08 
Generaltypename keyword question Pin
Joe Woodbury2-Jun-03 14:43
professionalJoe Woodbury2-Jun-03 14:43 
GeneralRe: typename keyword question Pin
Joaquín M López Muñoz2-Jun-03 20:51
Joaquín M López Muñoz2-Jun-03 20:51 
Questionhow to make Floppy-Disk-Device's LED blinking Pin
FlyingDancer2-Jun-03 14:36
FlyingDancer2-Jun-03 14:36 
AnswerRe: how to make Floppy-Disk-Device's LED blinking Pin
Toni782-Jun-03 21:00
Toni782-Jun-03 21:00 
GeneralRe: how to make Floppy-Disk-Device's LED blinking Pin
FlyingDancer2-Jun-03 21:25
FlyingDancer2-Jun-03 21:25 
Generala problem on WinExec Pin
olinn2-Jun-03 13:46
olinn2-Jun-03 13:46 
GeneralRe: a problem on WinExec Pin
Chris Richardson2-Jun-03 14:24
Chris Richardson2-Jun-03 14:24 
GeneralRe: a problem on WinExec Pin
olinn3-Jun-03 3:49
olinn3-Jun-03 3:49 

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.