Click here to Skip to main content
15,918,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
lino_i24-Feb-05 8:15
lino_i24-Feb-05 8:15 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 8:30
David Crow24-Feb-05 8:30 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
lino_i24-Feb-05 8:40
lino_i24-Feb-05 8:40 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 9:18
David Crow24-Feb-05 9:18 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Anonymous24-Feb-05 9:22
Anonymous24-Feb-05 9:22 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 9:31
David Crow24-Feb-05 9:31 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Anonymous24-Feb-05 9:42
Anonymous24-Feb-05 9:42 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 9:53
David Crow24-Feb-05 9:53 
Anonymous wrote:
The bottom line is that I don't know how to do it and that's it.

Based on the code you provided, I just assumed that you knew your way around MFC.

Anonymous wrote:
The wizard never included the OnInitDialog() method...do you know why that is?

Even though ClassWizard did not add the OnInitDialog() method for you, that does not mean you cannot add it later either manually or by invoking ClassWizard again. For the former, just add to the dialog's .h and .cpp files. For the latter, select the dialog's class in the Class name: combobox, select WM_INITDIALOG in the Messages: listbox, then click the Add Function button. Now select the newly added item in the Member functions: listbox and click the Edit Code button.

Does that help?


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


GeneralRe: populating a CListCtrl which is inside a Dialog Pin
lino_i24-Feb-05 10:19
lino_i24-Feb-05 10:19 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow24-Feb-05 10:26
David Crow24-Feb-05 10:26 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Aamir Butt25-Feb-05 0:45
Aamir Butt25-Feb-05 0:45 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow25-Feb-05 2:23
David Crow25-Feb-05 2:23 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Aamir Butt27-Feb-05 18:07
Aamir Butt27-Feb-05 18:07 
GeneralOwner Draw Menus without MFC Pin
r3dqu33n24-Feb-05 7:53
r3dqu33n24-Feb-05 7:53 
GeneralRe: Owner Draw Menus without MFC Pin
PJ Arends24-Feb-05 16:52
professionalPJ Arends24-Feb-05 16:52 
GeneralReally Tricky situation with ODBC and FlexGrids Pin
ur_unholyness24-Feb-05 6:53
ur_unholyness24-Feb-05 6:53 
GeneralUnicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 6:18
Konrad Windszus24-Feb-05 6:18 
GeneralRe: Unicode in CCommandLineInfo Pin
PJ Arends24-Feb-05 8:06
professionalPJ Arends24-Feb-05 8:06 
GeneralRe: Unicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 10:26
Konrad Windszus24-Feb-05 10:26 
GeneralWMI Blues Pin
newbee7824-Feb-05 4:39
newbee7824-Feb-05 4:39 
GeneralVcWizCtl Pin
mikeh24-Feb-05 2:54
mikeh24-Feb-05 2:54 
GeneralPackaging & Deploying C++ Application Pin
clav24-Feb-05 2:38
clav24-Feb-05 2:38 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 3:05
professionalRavi Bhavnani24-Feb-05 3:05 
GeneralRe: Packaging & Deploying C++ Application Pin
clav24-Feb-05 3:55
clav24-Feb-05 3:55 
GeneralRe: Packaging & Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 5:20
professionalRavi Bhavnani24-Feb-05 5:20 

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.