Click here to Skip to main content
15,881,559 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Richard MacCutchan19-Sep-19 6:09
mveRichard MacCutchan19-Sep-19 6:09 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 6:23
Member 1457555619-Sep-19 6:23 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 6:11
Victor Nijegorodov19-Sep-19 6:11 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 6:21
Member 1457555619-Sep-19 6:21 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 6:33
Victor Nijegorodov19-Sep-19 6:33 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 6:37
Member 1457555619-Sep-19 6:37 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 8:12
Victor Nijegorodov19-Sep-19 8:12 
AnswerRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
David Crow19-Sep-19 6:47
David Crow19-Sep-19 6:47 
Member 14575556 wrote:
MedicineDlg MedicineObj;
MedicineObj.ResetListControl();// Here the code breaks
MedicineObj.DatabaseReload();
This will not work as it is not the same instance of MedicineDlg that was created in OnBnClickedSelectButton().

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Member 1457555619-Sep-19 6:50
Member 1457555619-Sep-19 6:50 
GeneralRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
Victor Nijegorodov19-Sep-19 8:09
Victor Nijegorodov19-Sep-19 8:09 
SuggestionRe: MFC VC++ Repopulating the ClistCtrl after database is updated through dialog Pin
David Crow19-Sep-19 9:29
David Crow19-Sep-19 9:29 
QuestionDetermining length of Switch compare Pin
ForNow18-Sep-19 15:45
ForNow18-Sep-19 15:45 
AnswerRe: Determining length of Switch compare Pin
Peter_in_278018-Sep-19 16:49
professionalPeter_in_278018-Sep-19 16:49 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 1:32
ForNow19-Sep-19 1:32 
AnswerRe: Determining length of Switch compare Pin
Richard MacCutchan18-Sep-19 20:55
mveRichard MacCutchan18-Sep-19 20:55 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 1:32
ForNow19-Sep-19 1:32 
AnswerRe: Determining length of Switch compare Pin
Stefan_Lang19-Sep-19 2:23
Stefan_Lang19-Sep-19 2:23 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 4:06
ForNow19-Sep-19 4:06 
AnswerRe: Determining length of Switch compare Pin
leon de boer19-Sep-19 4:38
leon de boer19-Sep-19 4:38 
GeneralRe: Determining length of Switch compare Pin
ForNow19-Sep-19 5:11
ForNow19-Sep-19 5:11 
GeneralRe: Determining length of Switch compare Pin
leon de boer28-Sep-19 14:57
leon de boer28-Sep-19 14:57 
QuestionC++ string assignment to struct Pin
Fotsing18-Sep-19 11:54
Fotsing18-Sep-19 11:54 
AnswerRe: C++ string assignment to struct Pin
Richard MacCutchan18-Sep-19 20:26
mveRichard MacCutchan18-Sep-19 20:26 
GeneralRe: C++ string assignment to struct Pin
Fotsing18-Sep-19 22:33
Fotsing18-Sep-19 22:33 
GeneralRe: C++ string assignment to struct Pin
Stefan_Lang19-Sep-19 2:12
Stefan_Lang19-Sep-19 2:12 

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.