Link to home
Start Free TrialLog in
Avatar of Psylord
Psylord

asked on

If you do this, you get the points.

This is a rephrase of a previous question. I have a COMBOBOX Vcl that I'm set on using in my project. I will be using it. I'm aware there are components that do this, and I'm aware there are examples of this certain places. See the two example pictures at:
http://www.users.uswest.net/~psyreal/delphi/

I want to do this (through code) with a normal combobox.

If you don't want to do the work please don't answer. If you can make a form look like this with a normal combobox, then that is the code I need. It can't just "look" like it. It needs to function the same.

Thanks people!

-Psylord
Avatar of DValery
DValery

I saw like this freeware component on:
http://www.torry.ru/
Avatar of Psylord

ASKER

hehe
You don't understand. I don't WANT a component. I WANT to use the one I already have. But thanks for the try.

-Psylord
Hi Psylord,

despite you rephrased the question, it hasn' become clearer... Actually, what you want (I think) is code to enumerate the shell's name space. Is this so? All the other stuff (icons, indentation etc.) is just some additional execercise.

Ciao, Mike
Avatar of Psylord

ASKER

Mike,
Well... Some people were trying to point me to components etc... I don't want to use a special component for this, and I have my reasons why. Y=ou said exactly what I wanted (I think).

THe problem is I'm not good enough to sort through piles of code and try to decipher them for my own needs... I can expect a lexure at this point but I assure you it's not needed.

I realize it's a lot of work to do... And I'm taking my chances trying to get someone to genrously donate some time to me. I will increase the points to this question as soon as my other ones are gone and I get the points back I'm not trying to rip anyone off.

You seem to have quite a bit of knowledge about the subject and I would appreciate any attempts you can make at answering this how I've explained.

Regards,
-Psylord
Have you looked at other components with source code?

I often (re)write components by my own, but there is realy a lot of them with the source code, so you can see whats the job to do and what are the directions to go when writing your own.

One of the best freeware collection is the Rx Library (www.rxlib.com) which is all in source code.

Such things you are attending to do are to complex to to it by this way (on an advice site). It's not one specific question which can be answered in some liitle code example (look at the guidelines on asking questions on this site). So, you can find a person here which will help you in doing this job or look at the sugested thinkgs (in this case - components) that people suggest to you.

Best whishes in solving your problem.
If you want to, you can write a owner draw combobox. In the Delphi help there is a good example.
To fill up your combo you have to call some shell commands, e.g: SHGetFileInfo.
ptm.
yep it's not a short code.. you have to manage getting all the drives etc ( as I saw in the gif ) and the icons using SHGetFileInfo, unless you want to use your own icons.. it's not so easy, not too difficult though
ASKER CERTIFIED SOLUTION
Avatar of mullet_attack
mullet_attack

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Psylord

ASKER

mullet_attack,

MUCH APPRECIATED. Thanks millions. This is exactly what I've been looking for... It needs a bit of work, but it's a start... I think I can figure the rest out after a bit of reading etc. If not, I'll just port here again. :)

Thanks for actually taking the time to do the work.