Click here to Skip to main content
15,895,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System modal window question... Pin
David Crow27-Jul-04 4:10
David Crow27-Jul-04 4:10 
GeneralGlobal Variable..(Simple but difficult....) Pin
Sumit Kapoor26-Jul-04 19:01
Sumit Kapoor26-Jul-04 19:01 
GeneralRe: Global Variable..(Simple but difficult....) Pin
V.26-Jul-04 22:52
professionalV.26-Jul-04 22:52 
GeneralRe: Global Variable..(Simple but difficult....) Pin
Ryan Binns27-Jul-04 19:01
Ryan Binns27-Jul-04 19:01 
GeneralRe: Global Variable..(Simple but difficult....) Pin
Sumit Kapoor27-Jul-04 19:22
Sumit Kapoor27-Jul-04 19:22 
GeneralRe: Global Variable..(Simple but difficult....) Pin
Ryan Binns27-Jul-04 20:44
Ryan Binns27-Jul-04 20:44 
GeneralTreeview in SDI App - Explorer style Pin
mavrick2326-Jul-04 18:47
mavrick2326-Jul-04 18:47 
GeneralRe: Treeview in SDI App - Explorer style Pin
User 58385226-Jul-04 18:58
User 58385226-Jul-04 18:58 
Well you need two things. Somewhere to store the information so that it can be edited easily and a mechanism to read that data and populate the tree. This could happen at runtime or at build time by generating code from the data.
You could store the data in the registry, an xml file, a custom format text file, a database etc etc

If you go with a runtime solution then you run the risk that the user will modify the data, if you do it at build time you dont have that problem.

Why dont you make a function that calls LoadIcon, Add, InsertItem etc and just call that. Then you would only need to add extra calls to this function to add extra items
GeneralRe: Treeview in SDI App - Explorer style Pin
mavrick2326-Jul-04 20:35
mavrick2326-Jul-04 20:35 
GeneralRe: Treeview in SDI App - Explorer style Pin
User 58385226-Jul-04 21:01
User 58385226-Jul-04 21:01 
GeneralRe: Treeview in SDI App - Explorer style Pin
palbano26-Jul-04 19:55
palbano26-Jul-04 19:55 
Generalstatus bar Pin
Anonymous26-Jul-04 18:42
Anonymous26-Jul-04 18:42 
GeneralRe: status bar Pin
User 58385226-Jul-04 19:28
User 58385226-Jul-04 19:28 
Questionhow to call SQL BLOB in MFC Pin
Member 118298226-Jul-04 16:52
Member 118298226-Jul-04 16:52 
AnswerRe: how to call SQL BLOB in MFC Pin
Sumit Kapoor26-Jul-04 18:38
Sumit Kapoor26-Jul-04 18:38 
Generalopen/save dialog Pin
Archer28226-Jul-04 16:08
Archer28226-Jul-04 16:08 
GeneralRe: open/save dialog Pin
Ryan Binns26-Jul-04 17:59
Ryan Binns26-Jul-04 17:59 
GeneralRe: open/save dialog Pin
Ivan Cachicatari26-Jul-04 18:05
Ivan Cachicatari26-Jul-04 18:05 
GeneralInvalidateRect question Pin
Anonymous26-Jul-04 10:31
Anonymous26-Jul-04 10:31 
GeneralInvalidateRect question Pin
Anonymous26-Jul-04 10:30
Anonymous26-Jul-04 10:30 
GeneralDetecting CD/DVD Burning Devices Pin
Dean Michaud26-Jul-04 10:06
Dean Michaud26-Jul-04 10:06 
GeneralRe: Detecting CD/DVD Burning Devices Pin
David Crow26-Jul-04 10:11
David Crow26-Jul-04 10:11 
Generaladding a package!! Pin
Oriocat26-Jul-04 8:41
Oriocat26-Jul-04 8:41 
GeneralRe: adding a package!! Pin
David Crow26-Jul-04 9:54
David Crow26-Jul-04 9:54 
GeneralRe: adding a package!! Pin
Oriocat26-Jul-04 9:59
Oriocat26-Jul-04 9:59 

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.