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

C / C++ / MFC

 
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 
Hi All,

I am struggling these days in creating an MFC application which has following problem statement:
--> In MFC, Create an UI list control which will
populate data from one table using db connectivity.


What I have done so far :
--> Created a SDI MFC application,
--> Able to connect to db, fetch record in "Edit Box" and traverse between records(First,Last,Next,Previous).

where I am stuck:
--> I am not able to populate these records in List control. I have taken reference from "c++ - How to add items to a List Control in an MFC dialog - Stack Overflow[^]"

but it has asked to write code under "OnInitDialog" method which is not present in SDI application. Though I can able to see this method in Dialog based MFC application but not in SDI application.

Request you to all to please help me.

Thanks,
Sanjeev
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 
QuestionDifference between Compiled and Interpreted language Pin
Mur250110-Apr-16 4:42
MemberMur250110-Apr-16 4:42 
AnswerRe: Difference between Compiled and Interpreted language Pin
Richard MacCutchan10-Apr-16 5:33
mveRichard MacCutchan10-Apr-16 5:33 
AnswerRe: Difference between Compiled and Interpreted language Pin
Albert Holguin10-Apr-16 16:20
professionalAlbert Holguin10-Apr-16 16:20 
AnswerRe: Difference between Compiled and Interpreted language Pin
W Balboos, GHB11-Apr-16 6:39
mveW Balboos, GHB11-Apr-16 6:39 
Questionis Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25017-Apr-16 6:39
MemberMur25017-Apr-16 6:39 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Richard MacCutchan7-Apr-16 8:32
mveRichard MacCutchan7-Apr-16 8:32 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
leon de boer7-Apr-16 17:41
Memberleon de boer7-Apr-16 17:41 
GeneralRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25018-Apr-16 7:35
MemberMur25018-Apr-16 7:35 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Bram van Kampen28-Apr-16 14:39
MemberBram van Kampen28-Apr-16 14:39 
QuestionERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 6:03
MemberRatul Thakur7-Apr-16 6:03 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
David Crow7-Apr-16 6:22
MemberDavid Crow7-Apr-16 6:22 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 6:33
MemberRatul Thakur7-Apr-16 6:33 
SuggestionRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Richard MacCutchan7-Apr-16 8:30
mveRichard MacCutchan7-Apr-16 8:30 
AnswerRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer7-Apr-16 23:11
Memberleon de boer7-Apr-16 23:11 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
leon de boer8-Apr-16 0:06
Memberleon de boer8-Apr-16 0:06 
GeneralRe: ERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur8-Apr-16 3:28
MemberRatul Thakur8-Apr-16 3:28 

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.