I decided this morning to make a little program, more to teach myself than for any other reason, that will have a little box that will list the various drives on my computer and hopefully on my home network and then, when I've picked a drive, show me the folders on that drive and let me navigate to some folder where I can view it's files. Probably eventually to select those files for some purpose.
I keep coming up with ideas for little tools for myelf that would probably be simple to make if I knew how to do the above but I dismiss the ideas because I haven't learned how to do any of that. I never really looked closely at why I don't or just what I don't know.
Today I started to do that and I ran right into the first problem: what control can best list the drives? What control for navigating folders? What control for listing the files?
I looked at the various controls and it seems like maybe the combobox might be good for the drives, or maybe a listbox. Maybe the listview or maybe a treeview for the folder navigation and maybe a listbox or a listview or a combox or a multi-line edit box for the files.
This isn't really a programming problem. I don't know enough about windows and it's controls. I use them all the time but I guess I don't think about them; I just use them.
Can anyone either explain some of this to me or give me some links to some basic information about what controls do what and which is best for a given common function or at least for the functions I've listed above? I did a little googling and found all sorts of stuff but nothing that really seemed on point. it was about how to program it not about how to decide which controls to use.
Thanks in advance for any links or tips.
Barry
I keep coming up with ideas for little tools for myelf that would probably be simple to make if I knew how to do the above but I dismiss the ideas because I haven't learned how to do any of that. I never really looked closely at why I don't or just what I don't know.
Today I started to do that and I ran right into the first problem: what control can best list the drives? What control for navigating folders? What control for listing the files?
I looked at the various controls and it seems like maybe the combobox might be good for the drives, or maybe a listbox. Maybe the listview or maybe a treeview for the folder navigation and maybe a listbox or a listview or a combox or a multi-line edit box for the files.
This isn't really a programming problem. I don't know enough about windows and it's controls. I use them all the time but I guess I don't think about them; I just use them.
Can anyone either explain some of this to me or give me some links to some basic information about what controls do what and which is best for a given common function or at least for the functions I've listed above? I did a little googling and found all sorts of stuff but nothing that really seemed on point. it was about how to program it not about how to decide which controls to use.
Thanks in advance for any links or tips.
Barry
Comment