SDI Project Question
-
Hi community, i use this example from codeproject: Creating your first Windows application[^] to learn more about SDI Programing, and later about MDI. Now i try to add a CListCtrl to show some Data in the list, but where to initialize a CListCtrl as a member? In my class derived from CView, or something else? In Dialogbased Application i know how to do this, but not here :( Or is here a example to learn more about SDI and MDI programing? Best regards,thanks for any help Arrin
-
Hi community, i use this example from codeproject: Creating your first Windows application[^] to learn more about SDI Programing, and later about MDI. Now i try to add a CListCtrl to show some Data in the list, but where to initialize a CListCtrl as a member? In my class derived from CView, or something else? In Dialogbased Application i know how to do this, but not here :( Or is here a example to learn more about SDI and MDI programing? Best regards,thanks for any help Arrin
Using the MFC Application Wizard to create the project, you opted for Single Document, correct? On the Generated Classes screen, you could have
CListView
as the base class for the view."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
-
Using the MFC Application Wizard to create the project, you opted for Single Document, correct? On the Generated Classes screen, you could have
CListView
as the base class for the view."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