Click here to Skip to main content
14,740,854 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding UI to an existing console project using windows form Pin
Member 935023725-Apr-16 22:55
MemberMember 935023725-Apr-16 22:55 
QuestionCode Blocks giving fatal error of not finding header file when there are seperate class files Pin
Mur250122-Apr-16 4:07
MemberMur250122-Apr-16 4:07 
SuggestionRe: Code Blocks giving fatal error of not finding header file when there are seperate class files Pin
Richard MacCutchan22-Apr-16 5:15
mveRichard MacCutchan22-Apr-16 5:15 
QuestionRe: Code Blocks giving fatal error of not finding header file when there are seperate class files Pin
David Crow22-Apr-16 18:58
MemberDavid Crow22-Apr-16 18:58 
QuestionCan DDX_Text be used with CTEXT resource item Pin
ForNow21-Apr-16 17:58
MemberForNow21-Apr-16 17:58 
QuestionRe: Can DDX_Text be used with CTEXT resource item Pin
Richard MacCutchan21-Apr-16 21:48
mveRichard MacCutchan21-Apr-16 21:48 
AnswerRe: Can DDX_Text be used with CTEXT resource item Pin
ForNow22-Apr-16 4:26
MemberForNow22-Apr-16 4:26 
AnswerRe: Can DDX_Text be used with CTEXT resource item Pin
Victor Nijegorodov22-Apr-16 1:39
MemberVictor Nijegorodov22-Apr-16 1:39 
ForNow wrote:
The Documentation says DDX_Text is for a edit control and I am getting an assertation

So maybe I have to use GetDlgItem and SetWindowText to set the text of the CTEXT

You can use DDX_Text for static controls.
Another way is to create the control member variable (using DDX_CONTROL) and then use this variable to call SetWindowText.

Where and how do you call the DDX_Text from? Perhaps you call it before the base class OnInitDialog was called?
GeneralRe: Can DDX_Text be used with CTEXT resource item Pin
ForNow22-Apr-16 4:25
MemberForNow22-Apr-16 4:25 
Questioncode path for DoModal Pin
ForNow17-Apr-16 7:21
MemberForNow17-Apr-16 7:21 
AnswerRe: code path for DoModal Pin
Victor Nijegorodov17-Apr-16 7:58
MemberVictor Nijegorodov17-Apr-16 7:58 
GeneralRe: code path for DoModal Pin
ForNow17-Apr-16 8:07
MemberForNow17-Apr-16 8:07 
GeneralRe: code path for DoModal Pin
leon de boer17-Apr-16 8:54
Memberleon de boer17-Apr-16 8:54 
QuestionRe: code path for DoModal Pin
David Crow18-Apr-16 5:04
MemberDavid Crow18-Apr-16 5:04 
AnswerRe: code path for DoModal Pin
leon de boer18-Apr-16 5:20
Memberleon de boer18-Apr-16 5:20 
GeneralRe: code path for DoModal Pin
David Crow18-Apr-16 13:06
MemberDavid Crow18-Apr-16 13:06 
QuestionWaitForSingleObject not signaled Pin
ForNow14-Apr-16 16:54
MemberForNow14-Apr-16 16:54 
AnswerRe: WaitForSingleObject not signaled Pin
leon de boer15-Apr-16 5:57
Memberleon de boer15-Apr-16 5:57 
GeneralRe: WaitForSingleObject not signaled/Do CAsyncSockets notifications happen anywhere but in the main thread Pin
ForNow15-Apr-16 7:34
MemberForNow15-Apr-16 7:34 
AnswerRe: WaitForSingleObject not signaled My apologies Pin
ForNow16-Apr-16 16:36
MemberForNow16-Apr-16 16:36 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
leon de boer16-Apr-16 19:10
Memberleon de boer16-Apr-16 19:10 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
ForNow17-Apr-16 7:14
MemberForNow17-Apr-16 7:14 
QuestionMFC problem with CMFCVisualManager::SetDefaultManager Pin
jung-kreidler13-Apr-16 5:27
Memberjung-kreidler13-Apr-16 5:27 
QuestionMFC : Not able to populate db records in list control of MFC SDI application Pin
catchy8713-Apr-16 1:58
Membercatchy8713-Apr-16 1:58 
AnswerRe: MFC : Not able to populate db records in list control of MFC SDI application Pin
Jochen Arndt13-Apr-16 2:36
professionalJochen Arndt13-Apr-16 2:36 

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.