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

C / C++ / MFC

 
QuestionCWnd::OnActiveApp( ): WTF is HTASK??? Pin
BlackSmith31-Jul-02 11:31
BlackSmith31-Jul-02 11:31 
AnswerRe: CWnd::OnActiveApp( ): WTF is HTASK??? Pin
Stuart Dootson31-Jul-02 13:20
professionalStuart Dootson31-Jul-02 13:20 
GeneralAdding dialog to system info about file Pin
defox31-Jul-02 11:17
defox31-Jul-02 11:17 
GeneralDrawDragRect() help Pin
Stew31-Jul-02 11:12
Stew31-Jul-02 11:12 
GeneralStatic vs. Shared MFC in dll Pin
dartonw31-Jul-02 9:34
dartonw31-Jul-02 9:34 
GeneralRe: Static vs. Shared MFC in dll Pin
Navin31-Jul-02 9:53
Navin31-Jul-02 9:53 
GeneralRe: Static vs. Shared MFC in dll Pin
Ranjan Banerji31-Jul-02 10:45
Ranjan Banerji31-Jul-02 10:45 
GeneralAn editBox and variable CString Pin
ns31-Jul-02 9:23
ns31-Jul-02 9:23 
SO far whenevr I created a member variable associated with an editBox I've made it of type CEdit (control not CString), but the Class wizard also offers the choice of CString. I didnt think much about it. But in a sample I am following, I see that a CString variable m_editString has been created for an IDC_EDIT1, and by magic the text put into m_EditString, populates the editbox! I was expecting to see the usual member of type CEdit and stuff like:

myCedit.SetWindowText(someCString).
I've hunted high and low in the sparse sample code and dont see anyplace where the string is being assigned to the editbox. SO is this something internal that happens if you create a CString variable instead of a CEdit variable and associate it with a CEdit?

Basically I wasnt curious about what the option - Control or Value was present for. Please clarify if my deductions are correct? I am probably totally off the mark, but I really do not see anyplace where a string is being setwindowtexted. Hope my question is clear.
Thanks,
ns
GeneralRe: An editBox and variable CString Pin
PJ Arends31-Jul-02 9:31
professionalPJ Arends31-Jul-02 9:31 
GeneralRe: An editBox and variable CString Pin
Ravi Bhavnani31-Jul-02 9:54
professionalRavi Bhavnani31-Jul-02 9:54 
GeneralRe: An editBox and variable CString Pin
lucy31-Jul-02 10:08
lucy31-Jul-02 10:08 
GeneralThank you all! Pin
nss31-Jul-02 13:19
nss31-Jul-02 13:19 
GeneralCOM interfaces and apps Pin
Aaron Schaefer31-Jul-02 8:56
Aaron Schaefer31-Jul-02 8:56 
QuestionHow to Rollup a Window Pin
Atlantys31-Jul-02 8:35
Atlantys31-Jul-02 8:35 
AnswerRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 9:26
professionalPJ Arends31-Jul-02 9:26 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 10:29
Atlantys31-Jul-02 10:29 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 12:25
professionalPJ Arends31-Jul-02 12:25 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 12:44
Atlantys31-Jul-02 12:44 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 12:53
professionalPJ Arends31-Jul-02 12:53 
GeneralRe: How to Rollup a Window Pin
PJ Arends31-Jul-02 13:14
professionalPJ Arends31-Jul-02 13:14 
AnswerRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 10:32
JohnnyG31-Jul-02 10:32 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 10:57
JohnnyG31-Jul-02 10:57 
GeneralRe: How to Rollup a Window Pin
Atlantys31-Jul-02 11:00
Atlantys31-Jul-02 11:00 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 12:26
JohnnyG31-Jul-02 12:26 
GeneralRe: How to Rollup a Window Pin
JohnnyG31-Jul-02 13:33
JohnnyG31-Jul-02 13:33 

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.